/linux-2.4.37.9/net/ipv6/ |
D | af_inet6.c | 174 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 …]
|
D | tcp_ipv6.c | 81 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 …]
|
D | udp.c | 106 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 …]
|
D | raw.c | 90 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 …]
|
D | datagram.c | 41 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()
|
D | anycast.c | 105 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()
|
D | Makefile | 12 obj-y := af_inet6.o anycast.o ip6_output.o ip6_input.o addrconf.o sit.o \
|
D | ip6_flowlabel.c | 183 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()
|
D | ip6_output.c | 112 (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()
|
D | mcast.c | 178 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()
|
D | ipv6_sockglue.c | 134 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()
|
D | ndisc.c | 1398 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/ |
D | compat.h | 59 #define inet6_sk(__sk) (&(((struct sock *)__sk)->net_pinfo.af_inet6))
|
/linux-2.4.37.9/net/ipv4/ |
D | tcp_diag.c | 105 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()
|
D | tcp_minisocks.c | 386 &sk->net_pinfo.af_inet6.daddr, in tcp_time_wait() 389 &sk->net_pinfo.af_inet6.rcv_saddr, in tcp_time_wait()
|
D | udp.c | 844 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()
|
D | tcp.c | 2120 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/ |
D | ip6_route.h | 106 struct ipv6_pinfo *np = &sk->net_pinfo.af_inet6; in ip6_dst_store()
|
D | sock.h | 196 #define __ipv6_only_sock(sk) ((sk)->net_pinfo.af_inet6.ipv6only) 198 (sk)->net_pinfo.af_inet6.ipv6only) 640 struct ipv6_pinfo af_inet6; member
|
D | tcp.h | 249 !ipv6_addr_cmp(&(__sk)->net_pinfo.af_inet6.daddr, (__saddr)) && \ 250 !ipv6_addr_cmp(&(__sk)->net_pinfo.af_inet6.rcv_saddr, (__daddr)) && \
|