Home
last modified time | relevance | path

Searched refs:net_pinfo (Results 1 – 19 of 19) sorted by relevance

/linux-2.4.37.9/net/ipv6/
Daf_inet6.c174 sk->net_pinfo.af_inet6.hop_limit = -1; in inet6_create()
175 sk->net_pinfo.af_inet6.mcast_hops = -1; in inet6_create()
176 sk->net_pinfo.af_inet6.mc_loop = 1; in inet6_create()
177 sk->net_pinfo.af_inet6.pmtudisc = IPV6_PMTUDISC_WANT; in inet6_create()
179 sk->net_pinfo.af_inet6.ipv6only = sysctl_ipv6_bindv6only; in inet6_create()
304 ipv6_addr_copy(&sk->net_pinfo.af_inet6.rcv_saddr, &addr->sin6_addr); in inet6_bind()
307 ipv6_addr_copy(&sk->net_pinfo.af_inet6.saddr, &addr->sin6_addr); in inet6_bind()
313 memset(&sk->net_pinfo.af_inet6.rcv_saddr, 0, sizeof(struct in6_addr)); in inet6_bind()
314 memset(&sk->net_pinfo.af_inet6.saddr, 0, sizeof(struct in6_addr)); in inet6_bind()
361 if ((skb = xchg(&sk->net_pinfo.af_inet6.pktoptions, NULL)) != NULL) in inet6_destroy_sock()
[all …]
Dtcp_ipv6.c81 struct in6_addr *laddr = &sk->net_pinfo.af_inet6.rcv_saddr; in tcp_v6_sk_hashfn()
82 struct in6_addr *faddr = &sk->net_pinfo.af_inet6.daddr; in tcp_v6_sk_hashfn()
144 int addr_type = ipv6_addr_type(&sk->net_pinfo.af_inet6.rcv_saddr); in tcp_v6_get_port()
158 ipv6_addr_any(&sk2->net_pinfo.af_inet6.rcv_saddr) && in tcp_v6_get_port()
162 …!(sk2->family == AF_INET6 ? ipv6_addr_type(&sk2->net_pinfo.af_inet6.rcv_saddr) == IPV6_ADDR_MAPPED… in tcp_v6_get_port()
164 !ipv6_addr_cmp(&sk->net_pinfo.af_inet6.rcv_saddr, in tcp_v6_get_port()
166 &sk2->net_pinfo.af_inet6.rcv_saddr : in tcp_v6_get_port()
266 struct ipv6_pinfo *np = &sk->net_pinfo.af_inet6; in tcp_v6_lookup_listener()
446 struct in6_addr *daddr = &sk->net_pinfo.af_inet6.rcv_saddr; in tcp_v6_check_established()
447 struct in6_addr *saddr = &sk->net_pinfo.af_inet6.daddr; in tcp_v6_check_established()
[all …]
Dudp.c106 int addr_type = ipv6_addr_type(&sk->net_pinfo.af_inet6.rcv_saddr); in udp_v6_get_port()
118 ipv6_addr_any(&sk2->net_pinfo.af_inet6.rcv_saddr) && in udp_v6_get_port()
122 …!(sk2->family == AF_INET6 ? (ipv6_addr_type(&sk2->net_pinfo.af_inet6.rcv_saddr) == IPV6_ADDR_MAPPE… in udp_v6_get_port()
124 !ipv6_addr_cmp(&sk->net_pinfo.af_inet6.rcv_saddr, in udp_v6_get_port()
125 &sk2->net_pinfo.af_inet6.rcv_saddr)) || in udp_v6_get_port()
185 struct ipv6_pinfo *np = &sk->net_pinfo.af_inet6; in udp_v6_lookup()
229 struct ipv6_pinfo *np = &sk->net_pinfo.af_inet6; in udpv6_connect()
453 if (sk->net_pinfo.af_inet6.rxopt.all) in udpv6_recvmsg()
511 !sk->net_pinfo.af_inet6.recverr) in udpv6_err()
515 !sk->net_pinfo.af_inet6.recverr) in udpv6_err()
[all …]
Draw.c90 struct ipv6_pinfo *np = &s->net_pinfo.af_inet6; in __raw_v6_lookup()
239 ipv6_addr_copy(&sk->net_pinfo.af_inet6.rcv_saddr, &addr->sin6_addr); in rawv6_bind()
241 ipv6_addr_copy(&sk->net_pinfo.af_inet6.saddr, &addr->sin6_addr); in rawv6_bind()
260 if (!sk->net_pinfo.af_inet6.recverr && sk->state != TCP_ESTABLISHED) in rawv6_err()
265 harderr = (sk->net_pinfo.af_inet6.pmtudisc == IPV6_PMTUDISC_DO); in rawv6_err()
267 if (sk->net_pinfo.af_inet6.recverr) { in rawv6_err()
274 if (sk->net_pinfo.af_inet6.recverr || harderr) { in rawv6_err()
408 if (sk->net_pinfo.af_inet6.rxopt.all) in rawv6_recvmsg()
515 struct ipv6_pinfo *np = &sk->net_pinfo.af_inet6; in rawv6_sendmsg()
572 !ipv6_addr_cmp(daddr, &sk->net_pinfo.af_inet6.daddr)) in rawv6_sendmsg()
[all …]
Ddatagram.c41 if (!sk->net_pinfo.af_inet6.recverr) in ipv6_icmp_error()
72 if (!sk->net_pinfo.af_inet6.recverr) in ipv6_local_error()
142 if (sk->net_pinfo.af_inet6.sndflow) in ipv6_recv_error()
164 if (sk->net_pinfo.af_inet6.rxopt.all) in ipv6_recv_error()
207 struct ipv6_pinfo *np = &sk->net_pinfo.af_inet6; in datagram_recv_ctl()
Danycast.c105 struct ipv6_pinfo *np = &sk->net_pinfo.af_inet6; in ipv6_sock_ac_join()
205 struct ipv6_pinfo *np = &sk->net_pinfo.af_inet6; in ipv6_sock_ac_drop()
239 struct ipv6_pinfo *np = &sk->net_pinfo.af_inet6; in ipv6_sock_ac_close()
271 struct ipv6_pinfo *np = &sk->net_pinfo.af_inet6; in inet6_ac_check()
Dip6_flowlabel.c183 struct ipv6_pinfo *np = &sk->net_pinfo.af_inet6; in fl6_sock_lookup()
200 struct ipv6_pinfo *np = &sk->net_pinfo.af_inet6; in fl6_free_socklist()
368 for (sfl = sk->net_pinfo.af_inet6.ipv6_fl_list; sfl; sfl = sfl->next) in mem_check()
411 struct ipv6_pinfo *np = &sk->net_pinfo.af_inet6; in ipv6_flowlabel_opt()
Dip6_output.c112 (skb->sk == NULL || skb->sk->net_pinfo.af_inet6.mc_loop) && in ip6_output()
190 struct ipv6_pinfo * np = sk ? &sk->net_pinfo.af_inet6 : NULL; in ip6_xmit()
267 struct ipv6_pinfo *np = &sk->net_pinfo.af_inet6; in ip6_nd_hdr()
509 struct ipv6_pinfo *np = &sk->net_pinfo.af_inet6; in ip6_build_xmit()
Dmcast.c178 struct ipv6_pinfo *np = &sk->net_pinfo.af_inet6; in ipv6_sock_mc_join()
239 struct ipv6_pinfo *np = &sk->net_pinfo.af_inet6; in ipv6_sock_mc_drop()
306 struct ipv6_pinfo *np = &sk->net_pinfo.af_inet6; in ipv6_sock_mc_close()
342 struct ipv6_pinfo *inet6 = &sk->net_pinfo.af_inet6; in ip6_mc_source()
461 struct ipv6_pinfo *inet6 = &sk->net_pinfo.af_inet6; in ip6_mc_msfilter()
537 struct ipv6_pinfo *inet6 = &sk->net_pinfo.af_inet6; in ip6_mc_msfget()
597 struct ipv6_pinfo *np = &sk->net_pinfo.af_inet6; in inet6_mc_check()
2248 sk->net_pinfo.af_inet6.hop_limit = 1; in igmp6_init()
Dipv6_sockglue.c134 struct ipv6_pinfo *np = &sk->net_pinfo.af_inet6; in ipv6_setsockopt()
542 struct ipv6_pinfo *np = &sk->net_pinfo.af_inet6; in ipv6_getsockopt()
Dndisc.c1398 sk->net_pinfo.af_inet6.hop_limit = 255; in ndisc_init()
1400 sk->net_pinfo.af_inet6.mc_loop = 0; in ndisc_init()
/linux-2.4.37.9/include/net/sctp/
Dcompat.h59 #define inet6_sk(__sk) (&(((struct sock *)__sk)->net_pinfo.af_inet6))
/linux-2.4.37.9/net/ipv4/
Dtcp_diag.c105 memcpy(r->id.tcpdiag_src, &sk->net_pinfo.af_inet6.rcv_saddr, 16); in tcpdiag_fill()
106 memcpy(r->id.tcpdiag_dst, &sk->net_pinfo.af_inet6.daddr, 16); in tcpdiag_fill()
354 addr = (u32*)&sk->net_pinfo.af_inet6.rcv_saddr; in tcpdiag_bc_run()
356 addr = (u32*)&sk->net_pinfo.af_inet6.daddr; in tcpdiag_bc_run()
Dtcp_minisocks.c386 &sk->net_pinfo.af_inet6.daddr, in tcp_time_wait()
389 &sk->net_pinfo.af_inet6.rcv_saddr, in tcp_time_wait()
Dudp.c844 memset(&sk->net_pinfo.af_inet6.saddr, 0, 16); in udp_disconnect()
845 memset(&sk->net_pinfo.af_inet6.rcv_saddr, 0, 16); in udp_disconnect()
Dtcp.c2120 memset(&sk->net_pinfo.af_inet6.saddr, 0, 16); in tcp_disconnect()
2121 memset(&sk->net_pinfo.af_inet6.rcv_saddr, 0, 16); in tcp_disconnect()
/linux-2.4.37.9/include/net/
Dip6_route.h106 struct ipv6_pinfo *np = &sk->net_pinfo.af_inet6; in ip6_dst_store()
Dsock.h196 #define __ipv6_only_sock(sk) ((sk)->net_pinfo.af_inet6.ipv6only)
198 (sk)->net_pinfo.af_inet6.ipv6only)
641 } net_pinfo; member
Dtcp.h249 !ipv6_addr_cmp(&(__sk)->net_pinfo.af_inet6.daddr, (__saddr)) && \
250 !ipv6_addr_cmp(&(__sk)->net_pinfo.af_inet6.rcv_saddr, (__daddr)) && \