Home
last modified time | relevance | path

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

12

/linux-6.1.9/include/net/
Dinet_ecn.h57 if (inet6_sk(sk) != NULL) in INET_ECN_xmit()
58 inet6_sk(sk)->tclass |= INET_ECN_ECT_0; in INET_ECN_xmit()
64 if (inet6_sk(sk) != NULL) in INET_ECN_dontxmit()
65 inet6_sk(sk)->tclass &= ~INET_ECN_MASK; in INET_ECN_dontxmit()
73 if (INET_ECN_is_capable(inet6_sk(sk)->tclass)) \
Dip6_route.h232 struct ipv6_pinfo *np = inet6_sk(sk); in ip6_dst_store()
269 inet6_sk(skb->sk) : NULL; in ip6_skb_dst_mtu()
284 return inet6_sk(sk)->pmtudisc != IPV6_PMTUDISC_INTERFACE && in ip6_sk_accept_pmtu()
285 inet6_sk(sk)->pmtudisc != IPV6_PMTUDISC_OMIT; in ip6_sk_accept_pmtu()
290 return inet6_sk(sk)->pmtudisc < IPV6_PMTUDISC_DO || in ip6_sk_ignore_df()
291 inet6_sk(sk)->pmtudisc == IPV6_PMTUDISC_OMIT; in ip6_sk_ignore_df()
Dipv6.h1090 &inet6_sk(sk)->cork); in ip6_finish_skb()
1268 inet6_sk(sk)->recverr = true; in ip6_sock_set_recverr()
1325 inet6_sk(sk)->srcprefs = (inet6_sk(sk)->srcprefs & prefmask) | pref; in __ip6_sock_set_addr_preferences()
1342 inet6_sk(sk)->rxopt.bits.rxinfo = true; in ip6_sock_set_recvpktinfo()
/linux-6.1.9/net/ipv6/
Ddatagram.c44 struct ipv6_pinfo *np = inet6_sk(sk); in ip6_datagram_flow_key_init()
78 struct ipv6_pinfo *np = inet6_sk(sk); in ip6_datagram_dst_update()
129 dst->ops->check(dst, inet6_sk(sk)->dst_cookie)) { in ip6_datagram_release_cb()
144 struct ipv6_pinfo *np = inet6_sk(sk); in __ip6_datagram_connect()
307 struct ipv6_pinfo *np = inet6_sk(sk); in ipv6_icmp_error()
334 if (inet6_sk(sk)->recverr_rfc4884) in ipv6_icmp_error()
345 const struct ipv6_pinfo *np = inet6_sk(sk); in ipv6_local_error()
385 struct ipv6_pinfo *np = inet6_sk(sk); in ipv6_local_rxpmtu()
455 struct ipv6_pinfo *np = inet6_sk(sk); in ipv6_recv_error()
549 struct ipv6_pinfo *np = inet6_sk(sk); in ipv6_recv_rxpmtu()
[all …]
Dinet6_connection_sock.c33 const struct ipv6_pinfo *np = inet6_sk(sk); in inet6_csk_route_req()
83 struct ipv6_pinfo *np = inet6_sk(sk); in inet6_csk_route_socket()
116 struct ipv6_pinfo *np = inet6_sk(sk); in inet6_csk_xmit()
Dip6_flowlabel.c262 struct ipv6_pinfo *np = inet6_sk(sk); in __fl6_sock_lookup()
283 struct ipv6_pinfo *np = inet6_sk(sk); in fl6_free_socklist()
470 struct ipv6_pinfo *np = inet6_sk(sk); in mem_check()
505 struct ipv6_pinfo *np = inet6_sk(sk); in ipv6_flowlabel_opt_get()
544 struct ipv6_pinfo *np = inet6_sk(sk); in ipv6_flowlabel_put()
579 struct ipv6_pinfo *np = inet6_sk(sk); in ipv6_flowlabel_renew()
614 struct ipv6_pinfo *np = inet6_sk(sk); in ipv6_flowlabel_get()
Danycast.c65 struct ipv6_pinfo *np = inet6_sk(sk); in ipv6_sock_ac_join()
157 struct ipv6_pinfo *np = inet6_sk(sk); in ipv6_sock_ac_drop()
188 struct ipv6_pinfo *np = inet6_sk(sk); in __ipv6_sock_ac_close()
215 struct ipv6_pinfo *np = inet6_sk(sk); in ipv6_sock_ac_close()
Dip6_output.c252 const struct ipv6_pinfo *np = inet6_sk(sk); in ip6_xmit()
371 struct ipv6_pinfo *np = inet6_sk(sk); in ip6_call_ra_chain()
850 inet6_sk(skb->sk) : NULL; in ip6_fragment()
1045 struct ipv6_pinfo *np = inet6_sk(sk); in ip6_sk_dst_check()
1116 sk ? inet6_sk(sk)->srcprefs : 0, in ip6_dst_lookup_tail()
1272 struct dst_entry *dst = sk_dst_check(sk, inet6_sk(sk)->dst_cookie); in ip6_sk_dst_lookup_flow()
1394 struct ipv6_pinfo *np = inet6_sk(sk); in ip6_setup_cork()
1843 struct ipv6_pinfo *np = inet6_sk(sk); in ip6_append_data()
1911 struct ipv6_pinfo *np = inet6_sk(sk); in __ip6_make_skb()
2028 &inet_sk(sk)->cork, &inet6_sk(sk)->cork); in ip6_flush_pending_frames()
[all …]
Draw.c216 struct ipv6_pinfo *np = inet6_sk(sk); in rawv6_bind()
298 struct ipv6_pinfo *np = inet6_sk(sk); in rawv6_err()
431 struct ipv6_pinfo *np = inet6_sk(sk); in rawv6_recvmsg()
526 opt = inet6_sk(sk)->cork.opt; in rawv6_push_pending_frames()
592 struct ipv6_pinfo *np = inet6_sk(sk); in rawv6_send_hdrinc()
743 struct ipv6_pinfo *np = inet6_sk(sk); in rawv6_sendmsg()
Daf_inet6.c290 struct ipv6_pinfo *np = inet6_sk(sk); in __inet6_bind()
494 struct ipv6_pinfo *np = inet6_sk(sk); in inet6_destroy_sock()
534 struct ipv6_pinfo *np = inet6_sk(sk); in inet6_getname()
832 struct ipv6_pinfo *np = inet6_sk(sk); in inet6_sk_rebuild_header()
876 const struct ipv6_pinfo *np = inet6_sk(sk); in ipv6_opt_accepted()
Dcalipso.c782 struct ipv6_txoptions *old = txopt_get(inet6_sk(sk)), *txopts; in calipso_opt_update()
1078 struct ipv6_txoptions *txopts = txopt_get(inet6_sk(sk)); in calipso_sock_getattr()
1131 struct ipv6_txoptions *txopts = txopt_get(inet6_sk(sk)); in calipso_sock_setattr()
1159 struct ipv6_txoptions *txopts = txopt_get(inet6_sk(sk)); in calipso_sock_delattr()
Dmcast.c174 struct ipv6_pinfo *np = inet6_sk(sk); in __ipv6_sock_mc_join()
250 struct ipv6_pinfo *np = inet6_sk(sk); in ipv6_sock_mc_drop()
320 struct ipv6_pinfo *np = inet6_sk(sk); in __ipv6_sock_mc_close()
349 struct ipv6_pinfo *np = inet6_sk(sk); in ipv6_sock_mc_close()
367 struct ipv6_pinfo *inet6 = inet6_sk(sk); in ip6_mc_source()
494 struct ipv6_pinfo *inet6 = inet6_sk(sk); in ip6_mc_msfilter()
585 struct ipv6_pinfo *inet6 = inet6_sk(sk); in ip6_mc_msfget()
633 struct ipv6_pinfo *np = inet6_sk(sk); in inet6_mc_check()
1721 hdr->hop_limit = inet6_sk(sk)->hop_limit; in ip6_mc_hdr()
3140 inet6_sk(net->ipv6.igmp_sk)->hop_limit = 1; in igmp6_net_init()
Dipv6_sockglue.c114 opt = xchg((__force struct ipv6_txoptions **)&inet6_sk(sk)->opt, in ipv6_update_options()
323 struct ipv6_pinfo *np = inet6_sk(sk); in ipv6_set_opt_hdr()
397 struct ipv6_pinfo *np = inet6_sk(sk); in do_ipv6_setsockopt()
1141 struct ipv6_pinfo *np = inet6_sk(sk); in do_ipv6_getsockopt()
Dicmp.c558 inet6_sk(sk)->srcprefs, in icmp6_send()
571 np = inet6_sk(sk); in icmp6_send()
764 np = inet6_sk(sk); in icmpv6_echo_reply()
Dsyncookies.c133 struct ipv6_pinfo *np = inet6_sk(sk); in cookie_v6_check()
Dping.c70 struct ipv6_pinfo *np = inet6_sk(sk); in ping_v6_sendmsg()
Dudp.c342 struct ipv6_pinfo *np = inet6_sk(sk); in udpv6_recvmsg()
613 np = inet6_sk(sk); in __udp6_lib_err()
1292 if (err == -ENOBUFS && !inet6_sk(sk)->recverr) { in udp_v6_send_skb()
1330 struct ipv6_pinfo *np = inet6_sk(sk); in udpv6_sendmsg()
/linux-6.1.9/include/linux/
Dipv6.h334 static inline struct ipv6_pinfo *inet6_sk(const struct sock *__sk) in inet6_sk() function
346 inet6_sk(sk)->rxopt.bits.rxinfo)
369 static inline struct ipv6_pinfo * inet6_sk(const struct sock *__sk) in inet6_sk() function
/linux-6.1.9/net/dccp/
Dipv6.c58 struct ipv6_pinfo *np = inet6_sk(sk); in dccp_v6_send_check()
129 np = inet6_sk(sk); in dccp_v6_err()
198 struct ipv6_pinfo *np = inet6_sk(sk); in dccp_v6_send_response()
322 struct ipv6_pinfo *np = inet6_sk(sk); in dccp_v6_conn_request()
420 const struct ipv6_pinfo *np = inet6_sk(sk); in dccp_v6_request_recv_sock()
438 newnp = inet6_sk(newsk); in dccp_v6_request_recv_sock()
497 newnp = inet6_sk(newsk); in dccp_v6_request_recv_sock()
582 struct ipv6_pinfo *np = inet6_sk(sk); in dccp_v6_do_rcv()
824 struct ipv6_pinfo *np = inet6_sk(sk); in dccp_v6_connect()
/linux-6.1.9/net/sctp/
Dipv6.c152 np = inet6_sk(sk); in sctp_v6_err_handle()
227 struct ipv6_pinfo *np = inet6_sk(sk); in sctp_v6_xmit()
282 struct ipv6_pinfo *np = inet6_sk(sk); in sctp_v6_get_dst()
492 struct ipv6_pinfo *newnp, *np = inet6_sk(sk); in sctp_v6_copy_ip_options()
495 newnp = inet6_sk(newsk); in sctp_v6_copy_ip_options()
511 struct ipv6_pinfo *np = inet6_sk(sk); in sctp_v6_ip_options_len()
769 struct ipv6_pinfo *newnp, *np = inet6_sk(sk); in sctp_v6_create_accept_sk()
786 newnp = inet6_sk(newsk); in sctp_v6_create_accept_sk()
854 inet6_sk(sk)->tclass |= INET_ECN_ECT_0; in sctp_v6_ecn_capable()
/linux-6.1.9/include/trace/events/
Dnet_probe_common.h28 v6->sin6_addr = inet6_sk(sk)->saddr; \
/linux-6.1.9/net/l2tp/
Dl2tp_ip6.c267 struct ipv6_pinfo *np = inet6_sk(sk); in l2tp_ip6_bind()
427 struct ipv6_pinfo *np = inet6_sk(sk); in l2tp_ip6_getname()
498 struct ipv6_pinfo *np = inet6_sk(sk); in l2tp_ip6_sendmsg()
665 struct ipv6_pinfo *np = inet6_sk(sk); in l2tp_ip6_recvmsg()
Dl2tp_debugfs.c146 const struct ipv6_pinfo *np = inet6_sk(tunnel->sock); in l2tp_dfs_seq_tunnel_show()
/linux-6.1.9/net/ipv4/
Dping.c414 struct ipv6_pinfo *np = inet6_sk(sk); in ping_set_saddr()
594 (family == AF_INET6 && !inet6_sk(sk)->recverr)) { in ping_err()
917 struct ipv6_pinfo *np = inet6_sk(sk); in ping_recvmsg()
934 if (inet6_sk(sk)->rxopt.all) in ping_recvmsg()
937 inet6_sk(sk)->rxopt.all) in ping_recvmsg()
/linux-6.1.9/net/rds/
Dtcp_listen.c166 inet6 = inet6_sk(new_sock->sk); in rds_tcp_accept_one()

12