Searched refs:in_skb (Results 1 - 26 of 26) sorted by relevance

/linux-4.1.27/net/ipv4/
H A Dudp_diag.c34 static int udp_dump_one(struct udp_table *tbl, struct sk_buff *in_skb, udp_dump_one() argument
41 struct net *net = sock_net(in_skb->sk); udp_dump_one()
76 sk_user_ns(NETLINK_CB(in_skb).sk), udp_dump_one()
77 NETLINK_CB(in_skb).portid, udp_dump_one()
84 err = netlink_unicast(net->diag_nlsk, rep, NETLINK_CB(in_skb).portid, udp_dump_one()
155 static int udp_diag_dump_one(struct sk_buff *in_skb, const struct nlmsghdr *nlh, udp_diag_dump_one() argument
158 return udp_dump_one(&udp_table, in_skb, nlh, req); udp_diag_dump_one()
182 static int udplite_diag_dump_one(struct sk_buff *in_skb, const struct nlmsghdr *nlh, udplite_diag_dump_one() argument
185 return udp_dump_one(&udplite_table, in_skb, nlh, req); udplite_diag_dump_one()
H A Dtcp_diag.c42 static int tcp_diag_dump_one(struct sk_buff *in_skb, const struct nlmsghdr *nlh, tcp_diag_dump_one() argument
45 return inet_diag_dump_one_icsk(&tcp_hashinfo, in_skb, nlh, req); tcp_diag_dump_one()
H A Dinet_diag.c350 struct sk_buff *in_skb, inet_diag_dump_one_icsk()
354 struct net *net = sock_net(in_skb->sk); inet_diag_dump_one_icsk()
391 sk_user_ns(NETLINK_CB(in_skb).sk), inet_diag_dump_one_icsk()
392 NETLINK_CB(in_skb).portid, inet_diag_dump_one_icsk()
399 err = netlink_unicast(net->diag_nlsk, rep, NETLINK_CB(in_skb).portid, inet_diag_dump_one_icsk()
413 static int inet_diag_get_exact(struct sk_buff *in_skb, inet_diag_get_exact() argument
424 err = handler->dump_one(in_skb, nlh, req); inet_diag_get_exact()
1005 static int inet_diag_get_exact_compat(struct sk_buff *in_skb, inet_diag_get_exact_compat() argument
1017 return inet_diag_get_exact(in_skb, nlh, &req); inet_diag_get_exact_compat()
349 inet_diag_dump_one_icsk(struct inet_hashinfo *hashinfo, struct sk_buff *in_skb, const struct nlmsghdr *nlh, const struct inet_diag_req_v2 *req) inet_diag_dump_one_icsk() argument
H A Ddevinet.c1824 static int inet_netconf_get_devconf(struct sk_buff *in_skb, inet_netconf_get_devconf() argument
1827 struct net *net = sock_net(in_skb->sk); inet_netconf_get_devconf()
1871 NETLINK_CB(in_skb).portid, inet_netconf_get_devconf()
1880 err = rtnl_unicast(skb, net, NETLINK_CB(in_skb).portid); inet_netconf_get_devconf()
H A Droute.c2454 static int inet_rtm_getroute(struct sk_buff *in_skb, struct nlmsghdr *nlh) inet_rtm_getroute() argument
2456 struct net *net = sock_net(in_skb->sk); inet_rtm_getroute()
2537 NETLINK_CB(in_skb).portid, nlh->nlmsg_seq, inet_rtm_getroute()
2542 err = rtnl_unicast(skb, net, NETLINK_CB(in_skb).portid); inet_rtm_getroute()
/linux-4.1.27/include/linux/
H A Dinet_diag.h19 int (*dump_one)(struct sk_buff *in_skb,
40 struct sk_buff *in_skb, const struct nlmsghdr *nlh,
H A Dnetlink.h67 extern void netlink_ack(struct sk_buff *in_skb, struct nlmsghdr *nlh, int err);
/linux-4.1.27/net/dccp/
H A Ddiag.c57 static int dccp_diag_dump_one(struct sk_buff *in_skb, dccp_diag_dump_one() argument
61 return inet_diag_dump_one_icsk(&dccp_hashinfo, in_skb, nlh, req); dccp_diag_dump_one()
/linux-4.1.27/crypto/
H A Dcrypto_user.c41 struct sk_buff *in_skb; member in struct:crypto_dump_info
169 struct sk_buff *in_skb = info->in_skb; crypto_report_alg() local
175 nlh = nlmsg_put(skb, NETLINK_CB(in_skb).portid, info->nlmsg_seq, crypto_report_alg()
196 static int crypto_report(struct sk_buff *in_skb, struct nlmsghdr *in_nlh, crypto_report() argument
217 info.in_skb = in_skb; crypto_report()
230 return nlmsg_unicast(crypto_nlsk, skb, NETLINK_CB(in_skb).portid); crypto_report()
244 info.in_skb = cb->skb; crypto_dump_report()
/linux-4.1.27/net/unix/
H A Ddiag.c243 static int unix_diag_get_exact(struct sk_buff *in_skb, unix_diag_get_exact() argument
251 struct net *net = sock_net(in_skb->sk); unix_diag_get_exact()
272 err = sk_diag_fill(sk, rep, req, NETLINK_CB(in_skb).portid, unix_diag_get_exact()
282 err = netlink_unicast(net->diag_nlsk, rep, NETLINK_CB(in_skb).portid, unix_diag_get_exact()
/linux-4.1.27/net/ipv6/
H A Daddrlabel.c524 static int ip6addrlbl_get(struct sk_buff *in_skb, struct nlmsghdr *nlh) ip6addrlbl_get() argument
526 struct net *net = sock_net(in_skb->sk); ip6addrlbl_get()
572 NETLINK_CB(in_skb).portid, nlh->nlmsg_seq, ip6addrlbl_get()
583 err = rtnl_unicast(skb, net, NETLINK_CB(in_skb).portid); ip6addrlbl_get()
H A Daddrconf.c554 static int inet6_netconf_get_devconf(struct sk_buff *in_skb, inet6_netconf_get_devconf() argument
557 struct net *net = sock_net(in_skb->sk); inet6_netconf_get_devconf()
601 NETLINK_CB(in_skb).portid, inet6_netconf_get_devconf()
610 err = rtnl_unicast(skb, net, NETLINK_CB(in_skb).portid); inet6_netconf_get_devconf()
4467 static int inet6_rtm_getaddr(struct sk_buff *in_skb, struct nlmsghdr *nlh) inet6_rtm_getaddr() argument
4469 struct net *net = sock_net(in_skb->sk); inet6_rtm_getaddr()
4504 err = inet6_fill_ifaddr(skb, ifa, NETLINK_CB(in_skb).portid, inet6_rtm_getaddr()
4512 err = rtnl_unicast(skb, net, NETLINK_CB(in_skb).portid); inet6_rtm_getaddr()
H A Droute.c2918 static int inet6_rtm_getroute(struct sk_buff *in_skb, struct nlmsghdr *nlh) inet6_rtm_getroute() argument
2920 struct net *net = sock_net(in_skb->sk); inet6_rtm_getroute()
2997 RTM_NEWROUTE, NETLINK_CB(in_skb).portid, inet6_rtm_getroute()
3004 err = rtnl_unicast(skb, net, NETLINK_CB(in_skb).portid); inet6_rtm_getroute()
/linux-4.1.27/net/sched/
H A Dcls_cgroup.c90 static int cls_cgroup_change(struct net *net, struct sk_buff *in_skb, cls_cgroup_change() argument
H A Dcls_flow.c362 static int flow_change(struct net *net, struct sk_buff *in_skb, flow_change() argument
404 sk_user_ns(NETLINK_CB(in_skb).sk) != &init_user_ns) flow_change()
H A Dcls_basic.c165 static int basic_change(struct net *net, struct sk_buff *in_skb, basic_change() argument
H A Dcls_bpf.c322 static int cls_bpf_change(struct net *net, struct sk_buff *in_skb, cls_bpf_change() argument
H A Dcls_fw.c236 static int fw_change(struct net *net, struct sk_buff *in_skb, fw_change() argument
H A Dcls_route.c474 static int route4_change(struct net *net, struct sk_buff *in_skb, route4_change() argument
H A Dcls_tcindex.c407 tcindex_change(struct net *net, struct sk_buff *in_skb, tcindex_change() argument
H A Dcls_rsvp.h454 static int rsvp_change(struct net *net, struct sk_buff *in_skb, rsvp_change() argument
H A Dcls_u32.c725 static int u32_change(struct net *net, struct sk_buff *in_skb, u32_change() argument
/linux-4.1.27/net/xfrm/
H A Dxfrm_user.c720 struct sk_buff *in_skb; member in struct:xfrm_dump_info
845 struct sk_buff *in_skb = sp->in_skb; dump_one_state() local
851 nlh = nlmsg_put(skb, NETLINK_CB(in_skb).portid, sp->nlmsg_seq, dump_one_state()
887 info.in_skb = cb->skb; xfrm_dump_sa()
925 static struct sk_buff *xfrm_state_netlink(struct sk_buff *in_skb, xfrm_state_netlink() argument
936 info.in_skb = in_skb; xfrm_state_netlink()
1596 struct sk_buff *in_skb = sp->in_skb; dump_one_policy() local
1601 nlh = nlmsg_put(skb, NETLINK_CB(in_skb).portid, sp->nlmsg_seq, dump_one_policy()
1641 info.in_skb = cb->skb; xfrm_dump_policy()
1656 static struct sk_buff *xfrm_policy_netlink(struct sk_buff *in_skb, xfrm_policy_netlink() argument
1668 info.in_skb = in_skb; xfrm_policy_netlink()
/linux-4.1.27/net/netlink/
H A Daf_netlink.c2849 void netlink_ack(struct sk_buff *in_skb, struct nlmsghdr *nlh, int err) netlink_ack() argument
2860 skb = netlink_alloc_skb(in_skb->sk, nlmsg_total_size(payload), netlink_ack()
2861 NETLINK_CB(in_skb).portid, GFP_KERNEL); netlink_ack()
2865 sk = netlink_lookup(sock_net(in_skb->sk), netlink_ack()
2866 in_skb->sk->sk_protocol, netlink_ack()
2867 NETLINK_CB(in_skb).portid); netlink_ack()
2876 rep = __nlmsg_put(skb, NETLINK_CB(in_skb).portid, nlh->nlmsg_seq, netlink_ack()
2881 netlink_unicast(in_skb->sk, skb, NETLINK_CB(in_skb).portid, MSG_DONTWAIT); netlink_ack()
/linux-4.1.27/net/decnet/
H A Ddn_route.c1638 static int dn_cache_getroute(struct sk_buff *in_skb, struct nlmsghdr *nlh) dn_cache_getroute() argument
1640 struct net *net = sock_net(in_skb->sk); dn_cache_getroute()
1706 err = dn_rt_fill_info(skb, NETLINK_CB(in_skb).portid, nlh->nlmsg_seq, RTM_NEWROUTE, 0, 0); dn_cache_getroute()
1712 return rtnl_unicast(skb, &init_net, NETLINK_CB(in_skb).portid); dn_cache_getroute()
/linux-4.1.27/drivers/net/wireless/b43legacy/
H A Ddma.c1011 struct sk_buff **in_skb) dma_tx_fragment()
1013 struct sk_buff *skb = *in_skb; dma_tx_fragment()
1083 *in_skb = bounce_skb; dma_tx_fragment()
1010 dma_tx_fragment(struct b43legacy_dmaring *ring, struct sk_buff **in_skb) dma_tx_fragment() argument

Completed in 698 milliseconds