/dports/multimedia/libv4l/linux-5.13-rc2/net/xdp/ |
H A D | xsk_diag.c | 27 struct sk_buff *nlskb) in xsk_diag_put_ring() argument 36 struct sk_buff *nlskb) in xsk_diag_put_rings_cfg() argument 72 XDP_DIAG_UMEM_FILL_RING, nlskb); in xsk_diag_put_umem() 118 nla_put_u32(nlskb, XDP_DIAG_UID, in xsk_diag_fill() 123 xsk_diag_put_rings_cfg(xs, nlskb)) in xsk_diag_fill() 127 xsk_diag_put_umem(xs, nlskb)) in xsk_diag_fill() 135 xsk_diag_put_stats(xs, nlskb)) in xsk_diag_fill() 139 nlmsg_end(nlskb, nlh); in xsk_diag_fill() 144 nlmsg_cancel(nlskb, nlh); in xsk_diag_fill() 163 if (xsk_diag_fill(sk, nlskb, req, in xsk_diag_dump() [all …]
|
/dports/multimedia/v4l_compat/linux-5.13-rc2/net/xdp/ |
H A D | xsk_diag.c | 27 struct sk_buff *nlskb) in xsk_diag_put_ring() argument 36 struct sk_buff *nlskb) in xsk_diag_put_rings_cfg() argument 72 XDP_DIAG_UMEM_FILL_RING, nlskb); in xsk_diag_put_umem() 118 nla_put_u32(nlskb, XDP_DIAG_UID, in xsk_diag_fill() 123 xsk_diag_put_rings_cfg(xs, nlskb)) in xsk_diag_fill() 127 xsk_diag_put_umem(xs, nlskb)) in xsk_diag_fill() 135 xsk_diag_put_stats(xs, nlskb)) in xsk_diag_fill() 139 nlmsg_end(nlskb, nlh); in xsk_diag_fill() 144 nlmsg_cancel(nlskb, nlh); in xsk_diag_fill() 163 if (xsk_diag_fill(sk, nlskb, req, in xsk_diag_dump() [all …]
|
/dports/multimedia/v4l-utils/linux-5.13-rc2/net/xdp/ |
H A D | xsk_diag.c | 27 struct sk_buff *nlskb) in xsk_diag_put_ring() argument 36 struct sk_buff *nlskb) in xsk_diag_put_rings_cfg() argument 72 XDP_DIAG_UMEM_FILL_RING, nlskb); in xsk_diag_put_umem() 118 nla_put_u32(nlskb, XDP_DIAG_UID, in xsk_diag_fill() 123 xsk_diag_put_rings_cfg(xs, nlskb)) in xsk_diag_fill() 127 xsk_diag_put_umem(xs, nlskb)) in xsk_diag_fill() 135 xsk_diag_put_stats(xs, nlskb)) in xsk_diag_fill() 139 nlmsg_end(nlskb, nlh); in xsk_diag_fill() 144 nlmsg_cancel(nlskb, nlh); in xsk_diag_fill() 163 if (xsk_diag_fill(sk, nlskb, req, in xsk_diag_dump() [all …]
|
/dports/multimedia/v4l_compat/linux-5.13-rc2/net/netfilter/ |
H A D | nf_tables_trace.c | 41 return nla_put_be32(nlskb, NFTA_TRACE_ID, id); in trace_fill_id() 53 nla = nla_reserve(nlskb, type, len); in trace_fill_header() 60 static int nf_trace_fill_ll_header(struct sk_buff *nlskb, in nf_trace_fill_ll_header() argument 82 static int nf_trace_fill_dev_info(struct sk_buff *nlskb, in nf_trace_fill_dev_info() argument 87 if (nla_put_be32(nlskb, NFTA_TRACE_IIF, in nf_trace_fill_dev_info() 91 if (nla_put_be16(nlskb, NFTA_TRACE_IIFTYPE, in nf_trace_fill_dev_info() 97 if (nla_put_be32(nlskb, NFTA_TRACE_OIF, in nf_trace_fill_dev_info() 101 if (nla_put_be16(nlskb, NFTA_TRACE_OIFTYPE, in nf_trace_fill_dev_info() 134 return nf_trace_fill_ll_header(nlskb, skb); in nf_trace_fill_pkt_info() 138 return trace_fill_header(nlskb, NFTA_TRACE_LL_HEADER, in nf_trace_fill_pkt_info() [all …]
|
H A D | nfnetlink_queue.c | 263 nfqnl_put_packet_info(struct sk_buff *nlskb, struct sk_buff *packet, in nfqnl_put_packet_info() argument 276 return flags ? nla_put_be32(nlskb, NFQA_SKB_INFO, htonl(flags)) : 0; in nfqnl_put_packet_info()
|
/dports/multimedia/libv4l/linux-5.13-rc2/net/netfilter/ |
H A D | nf_tables_trace.c | 41 return nla_put_be32(nlskb, NFTA_TRACE_ID, id); in trace_fill_id() 53 nla = nla_reserve(nlskb, type, len); in trace_fill_header() 60 static int nf_trace_fill_ll_header(struct sk_buff *nlskb, in nf_trace_fill_ll_header() argument 82 static int nf_trace_fill_dev_info(struct sk_buff *nlskb, in nf_trace_fill_dev_info() argument 87 if (nla_put_be32(nlskb, NFTA_TRACE_IIF, in nf_trace_fill_dev_info() 91 if (nla_put_be16(nlskb, NFTA_TRACE_IIFTYPE, in nf_trace_fill_dev_info() 97 if (nla_put_be32(nlskb, NFTA_TRACE_OIF, in nf_trace_fill_dev_info() 101 if (nla_put_be16(nlskb, NFTA_TRACE_OIFTYPE, in nf_trace_fill_dev_info() 134 return nf_trace_fill_ll_header(nlskb, skb); in nf_trace_fill_pkt_info() 138 return trace_fill_header(nlskb, NFTA_TRACE_LL_HEADER, in nf_trace_fill_pkt_info() [all …]
|
H A D | nfnetlink_queue.c | 263 nfqnl_put_packet_info(struct sk_buff *nlskb, struct sk_buff *packet, in nfqnl_put_packet_info() argument 276 return flags ? nla_put_be32(nlskb, NFQA_SKB_INFO, htonl(flags)) : 0; in nfqnl_put_packet_info()
|
/dports/multimedia/v4l-utils/linux-5.13-rc2/net/netfilter/ |
H A D | nf_tables_trace.c | 41 return nla_put_be32(nlskb, NFTA_TRACE_ID, id); in trace_fill_id() 53 nla = nla_reserve(nlskb, type, len); in trace_fill_header() 60 static int nf_trace_fill_ll_header(struct sk_buff *nlskb, in nf_trace_fill_ll_header() argument 82 static int nf_trace_fill_dev_info(struct sk_buff *nlskb, in nf_trace_fill_dev_info() argument 87 if (nla_put_be32(nlskb, NFTA_TRACE_IIF, in nf_trace_fill_dev_info() 91 if (nla_put_be16(nlskb, NFTA_TRACE_IIFTYPE, in nf_trace_fill_dev_info() 97 if (nla_put_be32(nlskb, NFTA_TRACE_OIF, in nf_trace_fill_dev_info() 101 if (nla_put_be16(nlskb, NFTA_TRACE_OIFTYPE, in nf_trace_fill_dev_info() 134 return nf_trace_fill_ll_header(nlskb, skb); in nf_trace_fill_pkt_info() 138 return trace_fill_header(nlskb, NFTA_TRACE_LL_HEADER, in nf_trace_fill_pkt_info() [all …]
|
H A D | nfnetlink_queue.c | 263 nfqnl_put_packet_info(struct sk_buff *nlskb, struct sk_buff *packet, in nfqnl_put_packet_info() argument 276 return flags ? nla_put_be32(nlskb, NFQA_SKB_INFO, htonl(flags)) : 0; in nfqnl_put_packet_info()
|
/dports/multimedia/libv4l/linux-5.13-rc2/net/unix/ |
H A D | diag.c | 14 static int sk_diag_dump_name(struct sock *sk, struct sk_buff *nlskb) in sk_diag_dump_name() argument 22 return nla_put(nlskb, UNIX_DIAG_NAME, addr->len - sizeof(short), in sk_diag_dump_name() 26 static int sk_diag_dump_vfs(struct sock *sk, struct sk_buff *nlskb) in sk_diag_dump_vfs() argument 36 return nla_put(nlskb, UNIX_DIAG_VFS, sizeof(uv), &uv); in sk_diag_dump_vfs() 42 static int sk_diag_dump_peer(struct sock *sk, struct sk_buff *nlskb) in sk_diag_dump_peer() argument 54 return nla_put_u32(nlskb, UNIX_DIAG_PEER, ino); in sk_diag_dump_peer() 60 static int sk_diag_dump_icons(struct sock *sk, struct sk_buff *nlskb) in sk_diag_dump_icons() argument 70 attr = nla_reserve(nlskb, UNIX_DIAG_ICONS, in sk_diag_dump_icons() 113 return nla_put(nlskb, UNIX_DIAG_RQLEN, sizeof(rql), &rql); in sk_diag_show_rqlen() 116 static int sk_diag_dump_uid(struct sock *sk, struct sk_buff *nlskb) in sk_diag_dump_uid() argument [all …]
|
/dports/multimedia/v4l_compat/linux-5.13-rc2/net/unix/ |
H A D | diag.c | 14 static int sk_diag_dump_name(struct sock *sk, struct sk_buff *nlskb) in sk_diag_dump_name() argument 22 return nla_put(nlskb, UNIX_DIAG_NAME, addr->len - sizeof(short), in sk_diag_dump_name() 26 static int sk_diag_dump_vfs(struct sock *sk, struct sk_buff *nlskb) in sk_diag_dump_vfs() argument 36 return nla_put(nlskb, UNIX_DIAG_VFS, sizeof(uv), &uv); in sk_diag_dump_vfs() 42 static int sk_diag_dump_peer(struct sock *sk, struct sk_buff *nlskb) in sk_diag_dump_peer() argument 54 return nla_put_u32(nlskb, UNIX_DIAG_PEER, ino); in sk_diag_dump_peer() 60 static int sk_diag_dump_icons(struct sock *sk, struct sk_buff *nlskb) in sk_diag_dump_icons() argument 70 attr = nla_reserve(nlskb, UNIX_DIAG_ICONS, in sk_diag_dump_icons() 113 return nla_put(nlskb, UNIX_DIAG_RQLEN, sizeof(rql), &rql); in sk_diag_show_rqlen() 116 static int sk_diag_dump_uid(struct sock *sk, struct sk_buff *nlskb) in sk_diag_dump_uid() argument [all …]
|
/dports/multimedia/v4l-utils/linux-5.13-rc2/net/unix/ |
H A D | diag.c | 14 static int sk_diag_dump_name(struct sock *sk, struct sk_buff *nlskb) in sk_diag_dump_name() argument 22 return nla_put(nlskb, UNIX_DIAG_NAME, addr->len - sizeof(short), in sk_diag_dump_name() 26 static int sk_diag_dump_vfs(struct sock *sk, struct sk_buff *nlskb) in sk_diag_dump_vfs() argument 36 return nla_put(nlskb, UNIX_DIAG_VFS, sizeof(uv), &uv); in sk_diag_dump_vfs() 42 static int sk_diag_dump_peer(struct sock *sk, struct sk_buff *nlskb) in sk_diag_dump_peer() argument 54 return nla_put_u32(nlskb, UNIX_DIAG_PEER, ino); in sk_diag_dump_peer() 60 static int sk_diag_dump_icons(struct sock *sk, struct sk_buff *nlskb) in sk_diag_dump_icons() argument 70 attr = nla_reserve(nlskb, UNIX_DIAG_ICONS, in sk_diag_dump_icons() 113 return nla_put(nlskb, UNIX_DIAG_RQLEN, sizeof(rql), &rql); in sk_diag_show_rqlen() 116 static int sk_diag_dump_uid(struct sock *sk, struct sk_buff *nlskb) in sk_diag_dump_uid() argument [all …]
|
/dports/multimedia/v4l_compat/linux-5.13-rc2/net/packet/ |
H A D | diag.c | 13 static int pdiag_put_info(const struct packet_sock *po, struct sk_buff *nlskb) in pdiag_put_info() argument 35 return nla_put(nlskb, PACKET_DIAG_INFO, sizeof(pinfo), &pinfo); in pdiag_put_info() 38 static int pdiag_put_mclist(const struct packet_sock *po, struct sk_buff *nlskb) in pdiag_put_mclist() argument 43 mca = nla_nest_start_noflag(nlskb, PACKET_DIAG_MCLIST); in pdiag_put_mclist() 51 dml = nla_reserve_nohdr(nlskb, sizeof(*dml)); in pdiag_put_mclist() 54 nla_nest_cancel(nlskb, mca); in pdiag_put_mclist() 67 nla_nest_end(nlskb, mca); in pdiag_put_mclist() 73 struct sk_buff *nlskb) in pdiag_put_ring() argument 95 return nla_put(nlskb, nl_type, sizeof(pdr), &pdr); in pdiag_put_ring() 113 static int pdiag_put_fanout(struct packet_sock *po, struct sk_buff *nlskb) in pdiag_put_fanout() argument [all …]
|
/dports/multimedia/libv4l/linux-5.13-rc2/net/packet/ |
H A D | diag.c | 13 static int pdiag_put_info(const struct packet_sock *po, struct sk_buff *nlskb) in pdiag_put_info() argument 35 return nla_put(nlskb, PACKET_DIAG_INFO, sizeof(pinfo), &pinfo); in pdiag_put_info() 38 static int pdiag_put_mclist(const struct packet_sock *po, struct sk_buff *nlskb) in pdiag_put_mclist() argument 43 mca = nla_nest_start_noflag(nlskb, PACKET_DIAG_MCLIST); in pdiag_put_mclist() 51 dml = nla_reserve_nohdr(nlskb, sizeof(*dml)); in pdiag_put_mclist() 54 nla_nest_cancel(nlskb, mca); in pdiag_put_mclist() 67 nla_nest_end(nlskb, mca); in pdiag_put_mclist() 73 struct sk_buff *nlskb) in pdiag_put_ring() argument 95 return nla_put(nlskb, nl_type, sizeof(pdr), &pdr); in pdiag_put_ring() 113 static int pdiag_put_fanout(struct packet_sock *po, struct sk_buff *nlskb) in pdiag_put_fanout() argument [all …]
|
/dports/multimedia/v4l-utils/linux-5.13-rc2/net/packet/ |
H A D | diag.c | 13 static int pdiag_put_info(const struct packet_sock *po, struct sk_buff *nlskb) in pdiag_put_info() argument 35 return nla_put(nlskb, PACKET_DIAG_INFO, sizeof(pinfo), &pinfo); in pdiag_put_info() 38 static int pdiag_put_mclist(const struct packet_sock *po, struct sk_buff *nlskb) in pdiag_put_mclist() argument 43 mca = nla_nest_start_noflag(nlskb, PACKET_DIAG_MCLIST); in pdiag_put_mclist() 51 dml = nla_reserve_nohdr(nlskb, sizeof(*dml)); in pdiag_put_mclist() 54 nla_nest_cancel(nlskb, mca); in pdiag_put_mclist() 67 nla_nest_end(nlskb, mca); in pdiag_put_mclist() 73 struct sk_buff *nlskb) in pdiag_put_ring() argument 95 return nla_put(nlskb, nl_type, sizeof(pdr), &pdr); in pdiag_put_ring() 113 static int pdiag_put_fanout(struct packet_sock *po, struct sk_buff *nlskb) in pdiag_put_fanout() argument [all …]
|
/dports/multimedia/v4l_compat/linux-5.13-rc2/net/netlink/ |
H A D | diag.c | 12 static int sk_diag_dump_groups(struct sock *sk, struct sk_buff *nlskb) in sk_diag_dump_groups() argument 19 return nla_put(nlskb, NETLINK_DIAG_GROUPS, NLGRPSZ(nlk->ngroups), in sk_diag_dump_groups()
|
/dports/multimedia/libv4l/linux-5.13-rc2/net/netlink/ |
H A D | diag.c | 12 static int sk_diag_dump_groups(struct sock *sk, struct sk_buff *nlskb) in sk_diag_dump_groups() argument 19 return nla_put(nlskb, NETLINK_DIAG_GROUPS, NLGRPSZ(nlk->ngroups), in sk_diag_dump_groups()
|
/dports/multimedia/v4l-utils/linux-5.13-rc2/net/netlink/ |
H A D | diag.c | 12 static int sk_diag_dump_groups(struct sock *sk, struct sk_buff *nlskb) in sk_diag_dump_groups() argument 19 return nla_put(nlskb, NETLINK_DIAG_GROUPS, NLGRPSZ(nlk->ngroups), in sk_diag_dump_groups()
|
/dports/multimedia/libv4l/linux-5.13-rc2/net/mptcp/ |
H A D | pm_netlink.c | 1594 static void mptcp_nl_mcast_send(struct net *net, struct sk_buff *nlskb, gfp_t gfp) in mptcp_nl_mcast_send() argument 1597 nlskb, 0, MPTCP_PM_EV_GRP_OFFSET, gfp); in mptcp_nl_mcast_send()
|
/dports/multimedia/v4l_compat/linux-5.13-rc2/net/mptcp/ |
H A D | pm_netlink.c | 1594 static void mptcp_nl_mcast_send(struct net *net, struct sk_buff *nlskb, gfp_t gfp) in mptcp_nl_mcast_send() argument 1597 nlskb, 0, MPTCP_PM_EV_GRP_OFFSET, gfp); in mptcp_nl_mcast_send()
|
/dports/multimedia/v4l-utils/linux-5.13-rc2/net/mptcp/ |
H A D | pm_netlink.c | 1594 static void mptcp_nl_mcast_send(struct net *net, struct sk_buff *nlskb, gfp_t gfp) in mptcp_nl_mcast_send() argument 1597 nlskb, 0, MPTCP_PM_EV_GRP_OFFSET, gfp); in mptcp_nl_mcast_send()
|