Home
last modified time | relevance | path

Searched refs:in_skb (Results 1 – 16 of 16) sorted by relevance

/linux-3.4.99/net/ipv4/
Dudp_diag.c31 static int udp_dump_one(struct udp_table *tbl, struct sk_buff *in_skb, in udp_dump_one() argument
71 NETLINK_CB(in_skb).pid, in udp_dump_one()
78 err = netlink_unicast(sock_diag_nlsk, rep, NETLINK_CB(in_skb).pid, in udp_dump_one()
143 static int udp_diag_dump_one(struct sk_buff *in_skb, const struct nlmsghdr *nlh, in udp_diag_dump_one() argument
146 return udp_dump_one(&udp_table, in_skb, nlh, req); in udp_diag_dump_one()
169 static int udplite_diag_dump_one(struct sk_buff *in_skb, const struct nlmsghdr *nlh, in udplite_diag_dump_one() argument
172 return udp_dump_one(&udplite_table, in_skb, nlh, req); in udplite_diag_dump_one()
Dtcp_diag.c43 static int tcp_diag_dump_one(struct sk_buff *in_skb, const struct nlmsghdr *nlh, in tcp_diag_dump_one() argument
46 return inet_diag_dump_one_icsk(&tcp_hashinfo, in_skb, nlh, req); in tcp_diag_dump_one()
Dinet_diag.c281 int inet_diag_dump_one_icsk(struct inet_hashinfo *hashinfo, struct sk_buff *in_skb, in inet_diag_dump_one_icsk() argument
325 NETLINK_CB(in_skb).pid, in inet_diag_dump_one_icsk()
332 err = netlink_unicast(sock_diag_nlsk, rep, NETLINK_CB(in_skb).pid, in inet_diag_dump_one_icsk()
349 static int inet_diag_get_exact(struct sk_buff *in_skb, in inet_diag_get_exact() argument
360 err = handler->dump_one(in_skb, nlh, req); in inet_diag_get_exact()
1040 static int inet_diag_get_exact_compat(struct sk_buff *in_skb, in inet_diag_get_exact_compat() argument
1052 return inet_diag_get_exact(in_skb, nlh, &req); in inet_diag_get_exact_compat()
Droute.c3062 static int inet_rtm_getroute(struct sk_buff *in_skb, struct nlmsghdr* nlh, void *arg) in inet_rtm_getroute() argument
3064 struct net *net = sock_net(in_skb->sk); in inet_rtm_getroute()
3143 err = rt_fill_info(net, skb, NETLINK_CB(in_skb).pid, nlh->nlmsg_seq, in inet_rtm_getroute()
3148 err = rtnl_unicast(skb, net, NETLINK_CB(in_skb).pid); in inet_rtm_getroute()
/linux-3.4.99/crypto/
Dcrypto_user.c39 struct sk_buff *in_skb; member
163 struct sk_buff *in_skb = info->in_skb; in crypto_report_alg() local
169 nlh = nlmsg_put(skb, NETLINK_CB(in_skb).pid, info->nlmsg_seq, in crypto_report_alg()
190 static int crypto_report(struct sk_buff *in_skb, struct nlmsghdr *in_nlh, in crypto_report() argument
210 info.in_skb = in_skb; in crypto_report()
219 return nlmsg_unicast(crypto_nlsk, skb, NETLINK_CB(in_skb).pid); in crypto_report()
233 info.in_skb = cb->skb; in crypto_dump_report()
/linux-3.4.99/net/dccp/
Ddiag.c57 static int dccp_diag_dump_one(struct sk_buff *in_skb, const struct nlmsghdr *nlh, in dccp_diag_dump_one() argument
60 return inet_diag_dump_one_icsk(&dccp_hashinfo, in_skb, nlh, req); in dccp_diag_dump_one()
/linux-3.4.99/include/linux/
Dinet_diag.h149 int (*dump_one)(struct sk_buff *in_skb,
168 struct sk_buff *in_skb, const struct nlmsghdr *nlh,
Dnetlink.h188 extern void netlink_ack(struct sk_buff *in_skb, struct nlmsghdr *nlh, int err);
/linux-3.4.99/net/unix/
Ddiag.c248 static int unix_diag_get_exact(struct sk_buff *in_skb, in unix_diag_get_exact() argument
277 err = sk_diag_fill(sk, rep, req, NETLINK_CB(in_skb).pid, in unix_diag_get_exact()
287 err = netlink_unicast(sock_diag_nlsk, rep, NETLINK_CB(in_skb).pid, in unix_diag_get_exact()
/linux-3.4.99/net/ipv6/
Daddrlabel.c526 static int ip6addrlbl_get(struct sk_buff *in_skb, struct nlmsghdr* nlh, in ip6addrlbl_get() argument
529 struct net *net = sock_net(in_skb->sk); in ip6addrlbl_get()
577 NETLINK_CB(in_skb).pid, nlh->nlmsg_seq, in ip6addrlbl_get()
588 err = rtnl_unicast(skb, net, NETLINK_CB(in_skb).pid); in ip6addrlbl_get()
Droute.c2565 static int inet6_rtm_getroute(struct sk_buff *in_skb, struct nlmsghdr* nlh, void *arg) in inet6_rtm_getroute() argument
2567 struct net *net = sock_net(in_skb->sk); in inet6_rtm_getroute()
2640 RTM_NEWROUTE, NETLINK_CB(in_skb).pid, in inet6_rtm_getroute()
2647 err = rtnl_unicast(skb, net, NETLINK_CB(in_skb).pid); in inet6_rtm_getroute()
Daddrconf.c3842 static int inet6_rtm_getaddr(struct sk_buff *in_skb, struct nlmsghdr* nlh, in inet6_rtm_getaddr() argument
3845 struct net *net = sock_net(in_skb->sk); in inet6_rtm_getaddr()
3880 err = inet6_fill_ifaddr(skb, ifa, NETLINK_CB(in_skb).pid, in inet6_rtm_getaddr()
3888 err = rtnl_unicast(skb, net, NETLINK_CB(in_skb).pid); in inet6_rtm_getaddr()
/linux-3.4.99/net/xfrm/
Dxfrm_user.c728 struct sk_buff *in_skb; member
825 struct sk_buff *in_skb = sp->in_skb; in dump_one_state() local
831 nlh = nlmsg_put(skb, NETLINK_CB(in_skb).pid, sp->nlmsg_seq, in dump_one_state()
866 info.in_skb = cb->skb; in xfrm_dump_sa()
881 static struct sk_buff *xfrm_state_netlink(struct sk_buff *in_skb, in xfrm_state_netlink() argument
892 info.in_skb = in_skb; in xfrm_state_netlink()
1490 struct sk_buff *in_skb = sp->in_skb; in dump_one_policy() local
1494 nlh = nlmsg_put(skb, NETLINK_CB(in_skb).pid, sp->nlmsg_seq, in dump_one_policy()
1536 info.in_skb = cb->skb; in xfrm_dump_policy()
1551 static struct sk_buff *xfrm_policy_netlink(struct sk_buff *in_skb, in xfrm_policy_netlink() argument
[all …]
/linux-3.4.99/net/netlink/
Daf_netlink.c1814 void netlink_ack(struct sk_buff *in_skb, struct nlmsghdr *nlh, int err) in netlink_ack() argument
1829 sk = netlink_lookup(sock_net(in_skb->sk), in netlink_ack()
1830 in_skb->sk->sk_protocol, in netlink_ack()
1831 NETLINK_CB(in_skb).pid); in netlink_ack()
1840 rep = __nlmsg_put(skb, NETLINK_CB(in_skb).pid, nlh->nlmsg_seq, in netlink_ack()
1845 netlink_unicast(in_skb->sk, skb, NETLINK_CB(in_skb).pid, MSG_DONTWAIT); in netlink_ack()
/linux-3.4.99/drivers/net/wireless/b43legacy/
Ddma.c1019 struct sk_buff **in_skb) in dma_tx_fragment() argument
1021 struct sk_buff *skb = *in_skb; in dma_tx_fragment()
1091 *in_skb = bounce_skb; in dma_tx_fragment()
/linux-3.4.99/net/decnet/
Ddn_route.c1576 static int dn_cache_getroute(struct sk_buff *in_skb, struct nlmsghdr *nlh, void *arg) in dn_cache_getroute() argument
1578 struct net *net = sock_net(in_skb->sk); in dn_cache_getroute()
1645 err = dn_rt_fill_info(skb, NETLINK_CB(in_skb).pid, nlh->nlmsg_seq, RTM_NEWROUTE, 0, 0); in dn_cache_getroute()
1654 return rtnl_unicast(skb, &init_net, NETLINK_CB(in_skb).pid); in dn_cache_getroute()