/net/core/ |
H A D | netpoll.c | 65 #define np_info(np, fmt, ...) \ 66 pr_info("%s: " fmt, np->name, ##__VA_ARGS__) 67 #define np_err(np, fmt, ...) \ 68 pr_err("%s: " fmt, np->name, ##__VA_ARGS__) 69 #define np_notice(np, fmt, ...) \ 70 pr_notice("%s: " fmt, np->name, ##__VA_ARGS__) 282 static struct sk_buff *find_skb(struct netpoll *np, int len, int reserve) argument 297 netpoll_poll_dev(np->dev); 320 void netpoll_send_skb_on_dev(struct netpoll *np, struct sk_buff *skb, argument 330 npinfo = rcu_dereference_bh(np 375 netpoll_send_udp(struct netpoll *np, const char *msg, int len) argument 476 netpoll_print_options(struct netpoll *np) argument 513 netpoll_parse_options(struct netpoll *np, char *opt) argument 595 __netpoll_setup(struct netpoll *np, struct net_device *ndev) argument 651 netpoll_setup(struct netpoll *np) argument 799 __netpoll_cleanup(struct netpoll *np) argument 829 struct netpoll *np = container_of(work, struct netpoll, cleanup_work); local 837 __netpoll_free_async(struct netpoll *np) argument 843 netpoll_cleanup(struct netpoll *np) argument [all...] |
H A D | neighbour.c | 138 struct neighbour __rcu **np; local 140 np = &nht->hash_buckets[i]; 141 while ((n = rcu_dereference_protected(*np, 150 rcu_assign_pointer(*np, 160 np = &n->next; 211 struct neighbour __rcu **np = &nht->hash_buckets[i]; local 213 while ((n = rcu_dereference_protected(*np, 216 np = &n->next; 219 rcu_assign_pointer(*np, 638 struct pneigh_entry *n, **np; local 664 struct pneigh_entry *n, **np; local 759 struct neighbour __rcu **np; local 2425 struct neighbour __rcu **np; local [all...] |
/net/ipv6/ |
H A D | ipv6_sockglue.c | 127 struct ipv6_pinfo *np = inet6_sk(sk); local 216 opt = xchg(&np->opt, NULL); 219 pktopt = xchg(&np->pktoptions, NULL); 245 np->rxopt.bits.rxinfo = valbool; 252 np->rxopt.bits.rxoinfo = valbool; 259 np->rxopt.bits.rxhlim = valbool; 266 np->rxopt.bits.rxohlim = valbool; 273 np->rxopt.bits.srcrt = valbool; 280 np->rxopt.bits.osrcrt = valbool; 287 np 951 struct ipv6_pinfo *np = inet6_sk(sk); local [all...] |
H A D | datagram.c | 47 struct ipv6_pinfo *np = inet6_sk(sk); local 70 if (np->sndflow) { 111 if (ipv6_addr_any(&np->saddr) || 112 ipv6_mapped_addr_any(&np->saddr)) 113 ipv6_addr_set_v4mapped(inet->inet_saddr, &np->saddr); 138 sk->sk_bound_dev_if = np->mcast_oif; 148 np->flow_label = fl6.flowlabel; 159 fl6.saddr = np->saddr; 167 fl6.flowi6_oif = np->mcast_oif; 171 opt = flowlabel ? flowlabel->opt : np 223 struct ipv6_pinfo *np = inet6_sk(sk); local 257 struct ipv6_pinfo *np = inet6_sk(sk); local 296 struct ipv6_pinfo *np = inet6_sk(sk); local 334 struct ipv6_pinfo *np = inet6_sk(sk); local 432 struct ipv6_pinfo *np = inet6_sk(sk); local 480 struct ipv6_pinfo *np = inet6_sk(sk); local 502 struct ipv6_pinfo *np = inet6_sk(sk); local [all...] |
H A D | ping.c | 84 struct ipv6_pinfo *np = inet6_sk(sk); local 136 fl6.saddr = np->saddr; 145 fl6.flowi6_oif = np->mcast_oif; 147 fl6.flowi6_oif = np->ucast_oif; 154 np = inet6_sk(sk); 155 if (!np) 159 fl6.flowi6_oif = np->mcast_oif; 161 fl6.flowi6_oif = np->ucast_oif; 172 hlimit = ip6_sk_dst_hoplimit(np, &fl6, dst); 177 np [all...] |
H A D | ip6_flowlabel.c | 69 #define for_each_sk_fl_rcu(np, sfl) \ 70 for (sfl = rcu_dereference_bh(np->ipv6_fl_list); \ 245 struct ipv6_pinfo *np = inet6_sk(sk); local 250 for_each_sk_fl_rcu(np, sfl) { 266 struct ipv6_pinfo *np = inet6_sk(sk); local 269 if (!rcu_access_pointer(np->ipv6_fl_list)) 273 while ((sfl = rcu_dereference_protected(np->ipv6_fl_list, 275 np->ipv6_fl_list = sfl->next; 444 struct ipv6_pinfo *np = inet6_sk(sk); local 453 for_each_sk_fl_rcu(np, sf 466 fl_link(struct ipv6_pinfo *np, struct ipv6_fl_socklist *sfl, struct ip6_flowlabel *fl) argument 479 struct ipv6_pinfo *np = inet6_sk(sk); local 517 struct ipv6_pinfo *np = inet6_sk(sk); local [all...] |
H A D | inet6_connection_sock.c | 73 struct ipv6_pinfo *np = inet6_sk(sk); local 80 final_p = fl6_update_dst(fl6, np->opt, &final); 196 struct ipv6_pinfo *np = inet6_sk(sk); local 203 fl6->saddr = np->saddr; 204 fl6->flowlabel = np->flow_label; 213 final_p = fl6_update_dst(fl6, np->opt, &final); 215 dst = __inet6_csk_dst_check(sk, np->dst_cookie); 227 struct ipv6_pinfo *np = inet6_sk(sk); local 246 res = ip6_xmit(sk, skb, &fl6, np->opt, np [all...] |
H A D | af_inet6.c | 118 struct ipv6_pinfo *np; local 211 inet_sk(sk)->pinet6 = np = inet6_sk_generic(sk); 212 np->hop_limit = -1; 213 np->mcast_hops = IPV6_DEFAULT_MCASTHOPS; 214 np->mc_loop = 1; 215 np->pmtudisc = IPV6_PMTUDISC_WANT; 273 struct ipv6_pinfo *np = inet6_sk(sk); local 378 np->saddr = addr->sin6_addr; 425 struct ipv6_pinfo *np = inet6_sk(sk); local 431 skb = xchg(&np 460 struct ipv6_pinfo *np = inet6_sk(sk); local 671 struct ipv6_pinfo *np = inet6_sk(sk); local 712 const struct ipv6_pinfo *np = inet6_sk(sk); local [all...] |
H A D | ip6_output.c | 159 struct ipv6_pinfo *np = inet6_sk(sk); local 203 if (np) 204 hlimit = np->hop_limit; 209 np->autoflowlabel)); 558 struct ipv6_pinfo *np = skb->sk ? inet6_sk(skb->sk) : NULL; local 590 if (np && np->frag_size < mtu) { 591 if (np->frag_size) 592 mtu = np->frag_size; 848 struct ipv6_pinfo *np local 1144 struct ipv6_pinfo *np = inet6_sk(sk); local 1505 ip6_cork_release(struct inet_sock *inet, struct ipv6_pinfo *np) argument 1530 struct ipv6_pinfo *np = inet6_sk(sk); local [all...] |
H A D | tcp_ipv6.c | 134 struct ipv6_pinfo *np = inet6_sk(sk); local 151 if (np->sndflow) { 201 np->flow_label = fl6.flowlabel; 237 ipv6_addr_set_v4mapped(inet->inet_saddr, &np->saddr); 250 fl6.saddr = saddr ? *saddr : np->saddr; 257 final_p = fl6_update_dst(&fl6, np->opt, &final); 273 np->saddr = *saddr; 286 if (np->opt) 287 icsk->icsk_ext_hdr_len = (np->opt->opt_flen + 288 np 344 struct ipv6_pinfo *np; local 485 struct ipv6_pinfo *np = inet6_sk(sk); local 733 struct ipv6_pinfo *np = inet6_sk(sk); local 1054 struct ipv6_pinfo *newnp, *np = inet6_sk(sk); local 1257 struct ipv6_pinfo *np = inet6_sk(sk); local [all...] |
H A D | raw.c | 245 struct ipv6_pinfo *np = inet6_sk(sk); local 310 np->saddr = addr->sin6_addr; 324 struct ipv6_pinfo *np = inet6_sk(sk); local 333 if (!np->recverr && sk->sk_state != TCP_ESTABLISHED) 339 harderr = (np->pmtudisc == IPV6_PMTUDISC_DO); 345 if (np->recverr) { 352 if (np->recverr || harderr) { 463 struct ipv6_pinfo *np = inet6_sk(sk); local 475 if (np->rxpmtu && np 615 struct ipv6_pinfo *np = inet6_sk(sk); local 742 struct ipv6_pinfo *np = inet6_sk(sk); local [all...] |
H A D | syncookies.c | 160 struct ipv6_pinfo *np = inet6_sk(sk); local 207 np->rxopt.bits.rxinfo || np->rxopt.bits.rxoinfo || 208 np->rxopt.bits.rxhlim || np->rxopt.bits.rxohlim) { 244 final_p = fl6_update_dst(&fl6, np->opt, &final);
|
H A D | anycast.c | 55 struct ipv6_pinfo *np = inet6_sk(sk); local 127 pac->acl_next = np->ipv6_ac_list; 128 np->ipv6_ac_list = pac; 144 struct ipv6_pinfo *np = inet6_sk(sk); local 151 for (pac = np->ipv6_ac_list; pac; pac = pac->acl_next) { 164 np->ipv6_ac_list = pac->acl_next; 177 struct ipv6_pinfo *np = inet6_sk(sk); local 183 if (!np->ipv6_ac_list) 187 pac = np->ipv6_ac_list; 188 np [all...] |
H A D | udp.c | 384 struct ipv6_pinfo *np = inet6_sk(sk); local 397 if (np->rxpmtu && np->rxopt.bits.rxpmtu) 480 if (np->rxopt.all) 487 if (np->rxopt.all) 529 struct ipv6_pinfo *np; local 556 np = inet6_sk(sk); 558 if (!icmpv6_err_convert(type, code, &err) && !np->recverr) 561 if (sk->sk_state != TCP_ESTABLISHED && !np->recverr) 564 if (np 1081 struct ipv6_pinfo *np = inet6_sk(sk); local [all...] |
H A D | icmp.c | 396 struct ipv6_pinfo *np; local 484 np = inet6_sk(sk); 495 fl6.flowi6_oif = np->mcast_oif; 497 fl6.flowi6_oif = np->ucast_oif; 503 hlimit = ip6_sk_dst_hoplimit(np, &fl6, dst); 522 np->tclass, NULL, &fl6, (struct rt6_info *)dst, 523 MSG_DONTWAIT, np->dontfrag); 551 struct ipv6_pinfo *np; local 587 np = inet6_sk(sk); 590 fl6.flowi6_oif = np [all...] |
H A D | mcast.c | 118 #define for_each_pmc_rcu(np, pmc) \ 119 for (pmc = rcu_dereference(np->ipv6_mc_list); \ 139 struct ipv6_pinfo *np = inet6_sk(sk); local 147 for_each_pmc_rcu(np, mc_lst) { 198 mc_lst->next = np->ipv6_mc_list; 199 rcu_assign_pointer(np->ipv6_mc_list, mc_lst); 211 struct ipv6_pinfo *np = inet6_sk(sk); local 220 for (lnk = &np->ipv6_mc_list; 283 struct ipv6_pinfo *np = inet6_sk(sk); local 287 if (!rcu_access_pointer(np 608 struct ipv6_pinfo *np = inet6_sk(sk); local [all...] |
/net/bridge/ |
H A D | br_device.c | 235 struct netpoll *np; local 238 np = kzalloc(sizeof(*p->np), GFP_KERNEL); 239 if (!np) 242 err = __netpoll_setup(np, p->dev); 244 kfree(np); 248 p->np = np; 284 struct netpoll *np = p->np; local [all...] |
/net/dccp/ |
H A D | ipv6.c | 66 struct ipv6_pinfo *np = inet6_sk(sk); local 70 dh->dccph_checksum = dccp_v6_csum_finish(skb, &np->saddr, &sk->sk_v6_daddr); 88 struct ipv6_pinfo *np; local 131 np = inet6_sk(sk); 134 struct dst_entry *dst = __sk_dst_check(sk, np->dst_cookie); 208 if (!sock_owned_by_user(sk) && np->recverr) { 223 struct ipv6_pinfo *np = inet6_sk(sk); local 241 final_p = fl6_update_dst(&fl6, np->opt, &final); 258 err = ip6_xmit(sk, skb, &fl6, np->opt, np 365 struct ipv6_pinfo *np = inet6_sk(sk); local 452 struct ipv6_pinfo *newnp, *np = inet6_sk(sk); local 617 struct ipv6_pinfo *np = inet6_sk(sk); local 832 struct ipv6_pinfo *np = inet6_sk(sk); local [all...] |
/net/l2tp/ |
H A D | l2tp_ip6.c | 261 struct ipv6_pinfo *np = inet6_sk(sk); local 335 np->saddr = addr->l2tp_addr; 416 struct ipv6_pinfo *np = inet6_sk(sk); local 428 if (np->sndflow) 429 lsa->l2tp_flowinfo = np->flow_label; 432 lsa->l2tp_addr = np->saddr; 489 struct ipv6_pinfo *np = inet6_sk(sk); local 527 if (np->sndflow) { 553 fl6.flowlabel = np->flow_label; 580 opt = np 650 struct ipv6_pinfo *np = inet6_sk(sk); local [all...] |
H A D | l2tp_debugfs.c | 130 const struct ipv6_pinfo *np = inet6_sk(tunnel->sock); local 133 &np->saddr, &tunnel->sock->sk_v6_daddr);
|
/net/sctp/ |
H A D | ipv6.c | 148 struct ipv6_pinfo *np; local 191 np = inet6_sk(sk); 193 if (!sock_owned_by_user(sk) && np->recverr) { 210 struct ipv6_pinfo *np = inet6_sk(sk); local 223 return ip6_xmit(sk, skb, fl6, np->opt, np->tclass); 236 struct ipv6_pinfo *np = inet6_sk(sk); local 265 final_p = fl6_update_dst(fl6, np->opt, &final); 324 final_p = fl6_update_dst(fl6, np->opt, &final); 635 struct ipv6_pinfo *newnp, *np local [all...] |
/net/dsa/ |
H A D | dsa.c | 441 struct device_node *np = pdev->dev.of_node; local 452 mdio = of_parse_phandle(np, "dsa,mii-bus", 0); 460 ethernet = of_parse_phandle(np, "dsa,ethernet", 0); 474 pd->nr_chips = of_get_child_count(np); 486 for_each_available_child_of_node(np, child) {
|
/net/8021q/ |
H A D | vlan_dev.c | 209 struct vlan_priority_tci_mapping *np; local 228 np = kmalloc(sizeof(struct vlan_priority_tci_mapping), GFP_KERNEL); 229 if (!np) 232 np->next = mp; 233 np->priority = skb_prio; 234 np->vlan_qos = vlan_qos; 240 vlan->egress_priority_map[skb_prio & 0xF] = np;
|
/net/sched/ |
H A D | sch_fq.c | 539 struct rb_node *op, **np, *parent; local 557 np = &nroot->rb_node; 559 while (*np) { 560 parent = *np; 566 np = &parent->rb_right; 568 np = &parent->rb_left; 571 rb_link_node(&of->fq_node, parent, np);
|
/net/ipv4/ |
H A D | ping.c | 388 struct ipv6_pinfo *np = inet6_sk(sk); local 389 sk->sk_v6_rcv_saddr = np->saddr = addr->sin6_addr; 402 struct ipv6_pinfo *np = inet6_sk(sk); local 404 memset(&np->saddr, 0, sizeof(np->saddr)); 905 struct ipv6_pinfo *np = inet6_sk(sk); local 914 if (np->sndflow)
|