/linux/net/ipv4/ |
A D | udp_diag.c | 32 struct sk_buff *in_skb = cb->skb; in udp_dump_one() local 36 struct net *net = sock_net(in_skb->sk); in udp_dump_one() 74 netlink_net_capable(in_skb, CAP_NET_ADMIN)); in udp_dump_one() 80 err = nlmsg_unicast(net->diag_nlsk, rep, NETLINK_CB(in_skb).portid); in udp_dump_one() 167 static int __udp_diag_destroy(struct sk_buff *in_skb, in __udp_diag_destroy() argument 171 struct net *net = sock_net(in_skb->sk); in __udp_diag_destroy() 225 static int udp_diag_destroy(struct sk_buff *in_skb, in udp_diag_destroy() argument 228 return __udp_diag_destroy(in_skb, req, &udp_table); in udp_diag_destroy() 231 static int udplite_diag_destroy(struct sk_buff *in_skb, in udplite_diag_destroy() argument 234 return __udp_diag_destroy(in_skb, req, &udplite_table); in udplite_diag_destroy()
|
A D | raw_diag.c | 93 struct sk_buff *in_skb = cb->skb; in raw_diag_dump_one() local 99 net = sock_net(in_skb->sk); in raw_diag_dump_one() 114 netlink_net_capable(in_skb, CAP_NET_ADMIN)); in raw_diag_dump_one() 122 err = nlmsg_unicast(net->diag_nlsk, rep, NETLINK_CB(in_skb).portid); in raw_diag_dump_one() 198 static int raw_diag_destroy(struct sk_buff *in_skb, in raw_diag_destroy() argument 201 struct net *net = sock_net(in_skb->sk); in raw_diag_destroy()
|
A D | inet_diag.c | 558 struct sk_buff *in_skb = cb->skb; in inet_diag_dump_one_icsk() local 559 bool net_admin = netlink_net_capable(in_skb, CAP_NET_ADMIN); in inet_diag_dump_one_icsk() 560 struct net *net = sock_net(in_skb->sk); in inet_diag_dump_one_icsk() 581 err = nlmsg_unicast(net->diag_nlsk, rep, NETLINK_CB(in_skb).portid); in inet_diag_dump_one_icsk() 591 static int inet_diag_cmd_exact(int cmd, struct sk_buff *in_skb, in inet_diag_cmd_exact() argument 613 .skb = in_skb, in inet_diag_cmd_exact() 618 err = handler->destroy(in_skb, req); in inet_diag_cmd_exact() 1289 static int inet_diag_get_exact_compat(struct sk_buff *in_skb, in inet_diag_get_exact_compat() argument 1301 return inet_diag_cmd_exact(SOCK_DIAG_BY_FAMILY, in_skb, nlh, in inet_diag_get_exact_compat()
|
A D | tcp_diag.c | 194 static int tcp_diag_destroy(struct sk_buff *in_skb, in tcp_diag_destroy() argument 197 struct net *net = sock_net(in_skb->sk); in tcp_diag_destroy()
|
A D | nexthop.c | 3014 static int rtm_get_nexthop(struct sk_buff *in_skb, struct nlmsghdr *nlh, in rtm_get_nexthop() argument 3017 struct net *net = sock_net(in_skb->sk); in rtm_get_nexthop() 3037 err = nh_fill_node(skb, nh, RTM_NEWNEXTHOP, NETLINK_CB(in_skb).portid, in rtm_get_nexthop() 3044 err = rtnl_unicast(skb, net, NETLINK_CB(in_skb).portid); in rtm_get_nexthop() 3501 static int rtm_get_nexthop_bucket(struct sk_buff *in_skb, struct nlmsghdr *nlh, in rtm_get_nexthop_bucket() argument 3504 struct net *net = sock_net(in_skb->sk); in rtm_get_nexthop_bucket() 3534 NETLINK_CB(in_skb).portid, nlh->nlmsg_seq, in rtm_get_nexthop_bucket() 3541 return rtnl_unicast(skb, net, NETLINK_CB(in_skb).portid); in rtm_get_nexthop_bucket()
|
A D | devinet.c | 2162 static int inet_netconf_get_devconf(struct sk_buff *in_skb, in inet_netconf_get_devconf() argument 2166 struct net *net = sock_net(in_skb->sk); in inet_netconf_get_devconf() 2175 err = inet_netconf_valid_get_req(in_skb, nlh, tb, extack); in inet_netconf_get_devconf() 2208 NETLINK_CB(in_skb).portid, in inet_netconf_get_devconf() 2217 err = rtnl_unicast(skb, net, NETLINK_CB(in_skb).portid); in inet_netconf_get_devconf()
|
/linux/crypto/ |
A D | crypto_user_base.c | 30 struct sk_buff *in_skb; member 157 struct sk_buff *in_skb = info->in_skb; in crypto_report_alg() local 163 nlh = nlmsg_put(skb, NETLINK_CB(in_skb).portid, info->nlmsg_seq, in crypto_report_alg() 184 static int crypto_report(struct sk_buff *in_skb, struct nlmsghdr *in_nlh, in crypto_report() argument 187 struct net *net = sock_net(in_skb->sk); in crypto_report() 206 info.in_skb = in_skb; in crypto_report() 221 return nlmsg_unicast(net->crypto_nlsk, skb, NETLINK_CB(in_skb).portid); in crypto_report() 232 info.in_skb = cb->skb; in crypto_dump_report()
|
A D | crypto_user_stat.c | 25 struct sk_buff *in_skb; member 268 struct sk_buff *in_skb = info->in_skb; in crypto_reportstat_alg() local 274 nlh = nlmsg_put(skb, NETLINK_CB(in_skb).portid, info->nlmsg_seq, in crypto_reportstat_alg() 295 int crypto_reportstat(struct sk_buff *in_skb, struct nlmsghdr *in_nlh, in crypto_reportstat() argument 298 struct net *net = sock_net(in_skb->sk); in crypto_reportstat() 317 info.in_skb = in_skb; in crypto_reportstat() 332 return nlmsg_unicast(net->crypto_nlsk, skb, NETLINK_CB(in_skb).portid); in crypto_reportstat()
|
/linux/net/mptcp/ |
A D | mptcp_diag.c | 31 struct sk_buff *in_skb = cb->skb; in mptcp_diag_dump_one() local 38 net = sock_net(in_skb->sk); in mptcp_diag_dump_one() 54 netlink_net_capable(in_skb, CAP_NET_ADMIN)); in mptcp_diag_dump_one() 60 err = nlmsg_unicast(net->diag_nlsk, rep, NETLINK_CB(in_skb).portid); in mptcp_diag_dump_one()
|
/linux/include/crypto/internal/ |
A D | cryptouser.h | 8 int crypto_reportstat(struct sk_buff *in_skb, struct nlmsghdr *in_nlh, struct nlattr **attrs); 10 static inline int crypto_reportstat(struct sk_buff *in_skb, in crypto_reportstat() argument
|
/linux/net/unix/ |
A D | diag.c | 257 static int unix_diag_get_exact(struct sk_buff *in_skb, in unix_diag_get_exact() argument 265 struct net *net = sock_net(in_skb->sk); in unix_diag_get_exact() 288 err = sk_diag_fill(sk, rep, req, NETLINK_CB(in_skb).portid, in unix_diag_get_exact() 298 err = nlmsg_unicast(net->diag_nlsk, rep, NETLINK_CB(in_skb).portid); in unix_diag_get_exact()
|
/linux/net/ipv6/ |
A D | addrlabel.c | 578 static int ip6addrlbl_get(struct sk_buff *in_skb, struct nlmsghdr *nlh, in ip6addrlbl_get() argument 581 struct net *net = sock_net(in_skb->sk); in ip6addrlbl_get() 590 err = ip6addrlbl_valid_get_req(in_skb, nlh, tb, extack); in ip6addrlbl_get() 619 NETLINK_CB(in_skb).portid, in ip6addrlbl_get() 628 err = rtnl_unicast(skb, net, NETLINK_CB(in_skb).portid); in ip6addrlbl_get()
|
/linux/drivers/net/wireguard/ |
A D | socket.h | 22 struct sk_buff *in_skb,
|
A D | socket.c | 203 struct sk_buff *in_skb, void *buffer, in wg_socket_send_buffer_as_reply_to_skb() argument 210 if (unlikely(!in_skb)) in wg_socket_send_buffer_as_reply_to_skb() 212 ret = wg_socket_endpoint_from_skb(&endpoint, in_skb); in wg_socket_send_buffer_as_reply_to_skb()
|
/linux/include/linux/ |
A D | inet_diag.h | 29 int (*destroy)(struct sk_buff *in_skb,
|
A D | netlink.h | 151 void netlink_ack(struct sk_buff *in_skb, struct nlmsghdr *nlh, int err,
|
/linux/net/netlink/ |
A D | af_netlink.c | 2398 void netlink_ack(struct sk_buff *in_skb, struct nlmsghdr *nlh, int err, in netlink_ack() argument 2406 struct netlink_sock *nlk = nlk_sk(NETLINK_CB(in_skb).sk); in netlink_ack() 2433 NETLINK_CB(in_skb).sk->sk_err = ENOBUFS; in netlink_ack() 2434 sk_error_report(NETLINK_CB(in_skb).sk); in netlink_ack() 2438 rep = __nlmsg_put(skb, NETLINK_CB(in_skb).portid, nlh->nlmsg_seq, in netlink_ack() 2450 !WARN_ON((u8 *)extack->bad_attr < in_skb->data || in netlink_ack() 2451 (u8 *)extack->bad_attr >= in_skb->data + in netlink_ack() 2452 in_skb->len)) in netlink_ack() 2466 nlmsg_unicast(in_skb->sk, skb, NETLINK_CB(in_skb).portid); in netlink_ack()
|
/linux/net/xfrm/ |
A D | xfrm_user.c | 807 struct sk_buff *in_skb; member 1036 struct sk_buff *in_skb = sp->in_skb; in dump_one_state() local 1043 nlh = nlmsg_put(skb, NETLINK_CB(in_skb).portid, sp->nlmsg_seq, in dump_one_state() 1091 info.in_skb = cb->skb; in xfrm_dump_sa() 1126 static struct sk_buff *xfrm_state_netlink(struct sk_buff *in_skb, in xfrm_state_netlink() argument 1137 info.in_skb = in_skb; in xfrm_state_netlink() 1861 struct sk_buff *in_skb = sp->in_skb; in dump_one_policy() local 1867 nlh = nlmsg_put(skb, NETLINK_CB(in_skb).portid, sp->nlmsg_seq, in dump_one_policy() 1928 info.in_skb = cb->skb; in xfrm_dump_policy() 1938 static struct sk_buff *xfrm_policy_netlink(struct sk_buff *in_skb, in xfrm_policy_netlink() argument [all …]
|
/linux/net/mpls/ |
A D | af_mpls.c | 1251 static int mpls_netconf_get_devconf(struct sk_buff *in_skb, in mpls_netconf_get_devconf() argument 1255 struct net *net = sock_net(in_skb->sk); in mpls_netconf_get_devconf() 1263 err = mpls_netconf_valid_get_req(in_skb, nlh, tb, extack); in mpls_netconf_get_devconf() 1286 NETLINK_CB(in_skb).portid, in mpls_netconf_get_devconf() 1295 err = rtnl_unicast(skb, net, NETLINK_CB(in_skb).portid); in mpls_netconf_get_devconf() 2353 static int mpls_getroute(struct sk_buff *in_skb, struct nlmsghdr *in_nlh, in mpls_getroute() argument 2356 struct net *net = sock_net(in_skb->sk); in mpls_getroute() 2357 u32 portid = NETLINK_CB(in_skb).portid; in mpls_getroute() 2372 err = mpls_valid_getroute_req(in_skb, in_nlh, tb, extack); in mpls_getroute()
|
/linux/net/sched/ |
A D | cls_cgroup.c | 76 static int cls_cgroup_change(struct net *net, struct sk_buff *in_skb, in cls_cgroup_change() argument
|
A D | cls_flow.c | 387 static int flow_change(struct net *net, struct sk_buff *in_skb, in flow_change() argument 429 sk_user_ns(NETLINK_CB(in_skb).sk) != &init_user_ns) in flow_change()
|
A D | cls_basic.c | 170 static int basic_change(struct net *net, struct sk_buff *in_skb, in basic_change() argument
|
A D | cls_matchall.c | 182 static int mall_change(struct net *net, struct sk_buff *in_skb, in mall_change() argument
|
/linux/drivers/net/wireless/broadcom/b43legacy/ |
A D | dma.c | 934 struct sk_buff **in_skb) in dma_tx_fragment() argument 936 struct sk_buff *skb = *in_skb; in dma_tx_fragment() 1006 *in_skb = bounce_skb; in dma_tx_fragment()
|
/linux/net/decnet/ |
A D | dn_route.c | 1634 static int dn_cache_getroute(struct sk_buff *in_skb, struct nlmsghdr *nlh, in dn_cache_getroute() argument 1637 struct net *net = sock_net(in_skb->sk); in dn_cache_getroute() 1704 err = dn_rt_fill_info(skb, NETLINK_CB(in_skb).portid, nlh->nlmsg_seq, RTM_NEWROUTE, 0, 0); in dn_cache_getroute() 1710 return rtnl_unicast(skb, &init_net, NETLINK_CB(in_skb).portid); in dn_cache_getroute()
|