Searched refs:nl_type (Results 1 - 3 of 3) sorted by relevance
/linux-master/tools/net/ynl/lib/ |
H A D | ynl.py | 171 self.nl_len, self.nl_type, self.nl_flags, self.nl_seq, self.nl_portid = \ 180 if self.nl_type == Netlink.NLMSG_ERROR: 184 elif self.nl_type == Netlink.NLMSG_DONE: 219 return self.nl_type 222 msg = f"nl_len = {self.nl_len} ({len(self.raw)}) nl_flags = 0x{self.nl_flags:x} nl_type = {self.nl_type}" 247 def _genl_msg(nl_type, nl_flags, genl_cmd, genl_version, seq=None): 251 nlmsg = struct.pack("HHII", nl_type, nl_flags, seq, 0) 331 def _message(self, nl_type, nl_flags, seq=None): 334 nlmsg = struct.pack("HHII", nl_type, nl_flag [all...] |
/linux-master/net/xdp/ |
H A D | xsk_diag.c | 26 static int xsk_diag_put_ring(const struct xsk_queue *queue, int nl_type, argument 32 return nla_put(nlskb, nl_type, sizeof(dr), &dr);
|
/linux-master/net/packet/ |
H A D | diag.c | 72 static int pdiag_put_ring(struct packet_ring_buffer *ring, int ver, int nl_type, argument 95 return nla_put(nlskb, nl_type, sizeof(pdr), &pdr);
|
Completed in 223 milliseconds