Lines Matching refs:pinfo
15 struct packet_diag_info pinfo; in pdiag_put_info() local
17 pinfo.pdi_index = po->ifindex; in pdiag_put_info()
18 pinfo.pdi_version = po->tp_version; in pdiag_put_info()
19 pinfo.pdi_reserve = po->tp_reserve; in pdiag_put_info()
20 pinfo.pdi_copy_thresh = po->copy_thresh; in pdiag_put_info()
21 pinfo.pdi_tstamp = READ_ONCE(po->tp_tstamp); in pdiag_put_info()
23 pinfo.pdi_flags = 0; in pdiag_put_info()
25 pinfo.pdi_flags |= PDI_RUNNING; in pdiag_put_info()
27 pinfo.pdi_flags |= PDI_AUXDATA; in pdiag_put_info()
29 pinfo.pdi_flags |= PDI_ORIGDEV; in pdiag_put_info()
31 pinfo.pdi_flags |= PDI_VNETHDR; in pdiag_put_info()
33 pinfo.pdi_flags |= PDI_LOSS; in pdiag_put_info()
35 return nla_put(nlskb, PACKET_DIAG_INFO, sizeof(pinfo), &pinfo); in pdiag_put_info()