Home
last modified time | relevance | path

Searched refs:inet6_sk (Results 1 – 25 of 32) sorted by relevance

12

/linux-2.6.39/include/net/
Dinet_ecn.h44 if (inet6_sk(sk) != NULL) in INET_ECN_xmit()
45 inet6_sk(sk)->tclass |= INET_ECN_ECT_0; in INET_ECN_xmit()
51 if (inet6_sk(sk) != NULL) in INET_ECN_dontxmit()
52 inet6_sk(sk)->tclass &= ~INET_ECN_MASK; in INET_ECN_dontxmit()
60 if (INET_ECN_is_capable(inet6_sk(sk)->tclass)) \
Dip6_route.h152 struct ipv6_pinfo *np = inet6_sk(sk); in __ip6_dst_store()
182 struct ipv6_pinfo *np = skb->sk ? inet6_sk(skb->sk) : NULL; in ip6_skb_dst_mtu()
Dinet6_hashtables.h46 const struct ipv6_pinfo *np = inet6_sk(sk); in inet6_sk_ehashfn()
Dip.h359 struct ipv6_pinfo *np = inet6_sk(sk); in inet_reset_saddr()
378 return inet6_sk(sk)->mc_loop; in sk_mc_loop()
/linux-2.6.39/net/sctp/
Dipv6.c183 np = inet6_sk(sk); in sctp_v6_err()
203 struct ipv6_pinfo *np = inet6_sk(sk); in sctp_v6_xmit()
308 inet6_sk(&sk->inet.sk)->srcprefs, in sctp_v6_get_saddr()
411 ipv6_addr_copy(&addr->v6.sin6_addr, &inet6_sk(sk)->rcv_saddr); in sctp_v6_from_sk()
418 inet6_sk(sk)->rcv_saddr.s6_addr32[0] = 0; in sctp_v6_to_sk_saddr()
419 inet6_sk(sk)->rcv_saddr.s6_addr32[1] = 0; in sctp_v6_to_sk_saddr()
420 inet6_sk(sk)->rcv_saddr.s6_addr32[2] = htonl(0x0000ffff); in sctp_v6_to_sk_saddr()
421 inet6_sk(sk)->rcv_saddr.s6_addr32[3] = in sctp_v6_to_sk_saddr()
424 ipv6_addr_copy(&inet6_sk(sk)->rcv_saddr, &addr->v6.sin6_addr); in sctp_v6_to_sk_saddr()
432 inet6_sk(sk)->daddr.s6_addr32[0] = 0; in sctp_v6_to_sk_daddr()
[all …]
/linux-2.6.39/include/linux/
Dipv6.h408 static inline struct ipv6_pinfo * inet6_sk(const struct sock *__sk) in inet6_sk() function
453 #define __ipv6_only_sock(sk) (inet6_sk(sk)->ipv6only)
481 &inet6_sk(sk)->rcv_saddr : &inet6_twsk(sk)->tw_v6_rcv_saddr; in __inet6_rcv_saddr()
498 static inline struct ipv6_pinfo * inet6_sk(const struct sock *__sk) in inet6_sk() function
524 ipv6_addr_equal(&inet6_sk(__sk)->daddr, (__saddr)) && \
525 ipv6_addr_equal(&inet6_sk(__sk)->rcv_saddr, (__daddr)) && \
/linux-2.6.39/net/ipv6/
Dinet6_connection_sock.c61 struct ipv6_pinfo *np = inet6_sk(sk); in inet6_csk_route_req()
156 struct ipv6_pinfo *np = inet6_sk(sk); in inet6_csk_addr2sockaddr()
210 struct ipv6_pinfo *np = inet6_sk(sk); in inet6_csk_xmit()
Dudp.c55 const struct in6_addr *sk_rcv_saddr6 = &inet6_sk(sk)->rcv_saddr; in ipv6_rcv_saddr_equal()
107 udp6_portaddr_hash(sock_net(sk), &inet6_sk(sk)->rcv_saddr, 0); in udp_v6_get_port()
117 &inet6_sk(sk)->rcv_saddr, in udp_v6_rehash()
133 struct ipv6_pinfo *np = inet6_sk(sk); in compute_score()
171 struct ipv6_pinfo *np = inet6_sk(sk); in compute_score2()
340 struct ipv6_pinfo *np = inet6_sk(sk); in udpv6_recvmsg()
478 np = inet6_sk(sk); in __udp6_lib_err()
508 if (!ipv6_addr_any(&inet6_sk(sk)->daddr)) in udpv6_queue_rcv_skb()
572 struct ipv6_pinfo *np = inet6_sk(s); in udp_v6_mcast_next()
928 if (err == -ENOBUFS && !inet6_sk(sk)->recverr) { in udp_v6_push_pending_frames()
[all …]
Dtcp_ipv6.c130 struct ipv6_pinfo *np = inet6_sk(sk); in tcp_v6_connect()
364 if (ipv6_hdr(skb)->hop_limit < inet6_sk(sk)->min_hopcount) { in tcp_v6_err()
377 np = inet6_sk(sk); in tcp_v6_err()
481 struct ipv6_pinfo *np = inet6_sk(sk); in tcp_v6_send_synack()
574 return tcp_v6_md5_do_lookup(sk, &inet6_sk(addr_sk)->daddr); in tcp_v6_md5_lookup()
644 return tcp_v6_md5_do_add(sk, &inet6_sk(addr_sk)->daddr, in tcp_v6_md5_add_func()
816 saddr = &inet6_sk(sk)->saddr; in tcp_v6_md5_hash_skb()
817 daddr = &inet6_sk(sk)->daddr; in tcp_v6_md5_hash_skb()
935 struct ipv6_pinfo *np = inet6_sk(sk); in tcp_v6_send_check()
1177 struct ipv6_pinfo *np = inet6_sk(sk); in tcp_v6_conn_request()
[all …]
Dinet6_hashtables.c136 const struct ipv6_pinfo *np = inet6_sk(sk); in compute_score()
219 const struct ipv6_pinfo *np = inet6_sk(sk); in __inet6_check_established()
290 const struct ipv6_pinfo *np = inet6_sk(sk); in inet6_sk_port_offset()
Danycast.c59 struct ipv6_pinfo *np = inet6_sk(sk); in ipv6_sock_ac_join()
150 struct ipv6_pinfo *np = inet6_sk(sk); in ipv6_sock_ac_drop()
186 struct ipv6_pinfo *np = inet6_sk(sk); in ipv6_sock_ac_close()
224 struct ipv6_pinfo *np = inet6_sk(sk);
Ddatagram.c40 struct ipv6_pinfo *np = inet6_sk(sk); in ip6_datagram_connect()
202 struct ipv6_pinfo *np = inet6_sk(sk); in ipv6_icmp_error()
236 struct ipv6_pinfo *np = inet6_sk(sk); in ipv6_local_error()
275 struct ipv6_pinfo *np = inet6_sk(sk); in ipv6_local_rxpmtu()
317 struct ipv6_pinfo *np = inet6_sk(sk); in ipv6_recv_error()
420 struct ipv6_pinfo *np = inet6_sk(sk); in ipv6_recv_rxpmtu()
467 struct ipv6_pinfo *np = inet6_sk(sk); in datagram_recv_ctl()
Dip6_output.c181 struct ipv6_pinfo *np = inet6_sk(sk); in ip6_xmit()
275 struct ipv6_pinfo *np = inet6_sk(sk); in ip6_nd_hdr()
603 struct ipv6_pinfo *np = skb->sk ? inet6_sk(skb->sk) : NULL; in ip6_fragment()
884 struct ipv6_pinfo *np = inet6_sk(sk); in ip6_sk_dst_check()
935 sk ? inet6_sk(sk)->srcprefs : 0, in ip6_dst_lookup_tail()
1054 struct dst_entry *dst = sk_dst_check(sk, inet6_sk(sk)->dst_cookie); in ip6_sk_dst_lookup_flow()
1152 struct ipv6_pinfo *np = inet6_sk(sk); in ip6_append_data()
1514 struct ipv6_pinfo *np = inet6_sk(sk); in ip6_push_pending_frames()
1603 ip6_cork_release(inet_sk(sk), inet6_sk(sk)); in ip6_flush_pending_frames()
Draw.c78 struct ipv6_pinfo *np = inet6_sk(sk); in __raw_v6_lookup()
242 struct ipv6_pinfo *np = inet6_sk(sk); in rawv6_bind()
317 struct ipv6_pinfo *np = inet6_sk(sk); in rawv6_err()
450 struct ipv6_pinfo *np = inet6_sk(sk); in rawv6_recvmsg()
608 struct ipv6_pinfo *np = inet6_sk(sk); in rawv6_send_hdrinc()
732 struct ipv6_pinfo *np = inet6_sk(sk); in rawv6_sendmsg()
1233 struct ipv6_pinfo *np = inet6_sk(sp); in raw6_sock_seq_show()
Dip6_flowlabel.c229 struct ipv6_pinfo *np = inet6_sk(sk); in fl6_sock_lookup()
251 struct ipv6_pinfo *np = inet6_sk(sk); in fl6_free_socklist()
414 struct ipv6_pinfo *np = inet6_sk(sk); in mem_check()
476 struct ipv6_pinfo *np = inet6_sk(sk); in ipv6_flowlabel_opt()
Daf_inet6.c262 struct ipv6_pinfo *np = inet6_sk(sk); in inet6_bind()
412 struct ipv6_pinfo *np = inet6_sk(sk); in inet6_destroy_sock()
445 struct ipv6_pinfo *np = inet6_sk(sk); in inet6_getname()
647 struct ipv6_pinfo *np = inet6_sk(sk); in inet6_sk_rebuild_header()
687 struct ipv6_pinfo *np = inet6_sk(sk); in ipv6_opt_accepted()
Dipv6_sockglue.c113 opt = xchg(&inet6_sk(sk)->opt, opt); in ipv6_update_options()
116 opt = xchg(&inet6_sk(sk)->opt, opt); in ipv6_update_options()
127 struct ipv6_pinfo *np = inet6_sk(sk); in do_ipv6_setsockopt()
918 struct ipv6_pinfo *np = inet6_sk(sk); in do_ipv6_getsockopt()
Dmcast.c135 struct ipv6_pinfo *np = inet6_sk(sk); in ipv6_sock_mc_join()
213 struct ipv6_pinfo *np = inet6_sk(sk); in ipv6_sock_mc_drop()
285 struct ipv6_pinfo *np = inet6_sk(sk); in ipv6_sock_mc_close()
323 struct ipv6_pinfo *inet6 = inet6_sk(sk); in ip6_mc_source()
457 struct ipv6_pinfo *inet6 = inet6_sk(sk); in ip6_mc_msfilter()
548 struct ipv6_pinfo *inet6 = inet6_sk(sk); in ip6_mc_msfget()
617 struct ipv6_pinfo *np = inet6_sk(sk); in inet6_mc_check()
2651 inet6_sk(net->ipv6.igmp_sk)->hop_limit = 1; in igmp6_net_init()
Dsyncookies.c158 struct ipv6_pinfo *np = inet6_sk(sk); in cookie_v6_check()
Dicmp.c458 np = inet6_sk(sk); in icmpv6_send()
553 np = inet6_sk(sk); in icmpv6_echo_reply()
/linux-2.6.39/net/dccp/
Dipv6.c65 struct ipv6_pinfo *np = inet6_sk(sk); in dccp_v6_send_check()
136 np = inet6_sk(sk); in dccp_v6_err()
242 struct ipv6_pinfo *np = inet6_sk(sk); in dccp_v6_send_response()
388 struct ipv6_pinfo *np = inet6_sk(sk); in dccp_v6_conn_request()
474 struct ipv6_pinfo *newnp, *np = inet6_sk(sk); in dccp_v6_request_recv_sock()
491 newnp = inet6_sk(newsk); in dccp_v6_request_recv_sock()
563 newnp = inet6_sk(newsk); in dccp_v6_request_recv_sock()
645 struct ipv6_pinfo *np = inet6_sk(sk); in dccp_v6_do_rcv()
859 struct ipv6_pinfo *np = inet6_sk(sk); in dccp_v6_connect()
Dminisocks.c58 const struct ipv6_pinfo *np = inet6_sk(sk); in dccp_time_wait()
/linux-2.6.39/include/net/netfilter/
Dnf_tproxy_core.h179 int wildcard = ipv6_addr_any(&inet6_sk(sk)->rcv_saddr); in nf_tproxy_get_sock_v6()
/linux-2.6.39/net/netfilter/
Dxt_socket.c300 ipv6_addr_any(&inet6_sk(sk)->rcv_saddr)); in socket_mt6_v1()
/linux-2.6.39/security/
Dlsm_audit.c287 struct ipv6_pinfo *inet6 = inet6_sk(sk); in dump_common_audit_data()

12