Home
last modified time | relevance | path

Searched refs:ipc6 (Results 1 – 11 of 11) sorted by relevance

/linux-6.1.9/net/ipv6/
Dping.c80 struct ipcm6_cookie ipc6; in ping_v6_sendmsg() local
125 ipcm6_init_sk(&ipc6, np); in ping_v6_sendmsg()
126 ipc6.sockc.tsflags = sk->sk_tsflags; in ping_v6_sendmsg()
127 ipc6.sockc.mark = sk->sk_mark; in ping_v6_sendmsg()
135 ipc6.opt = &opt; in ping_v6_sendmsg()
137 err = ip6_datagram_send_ctl(sock_net(sk), sk, msg, &fl6, &ipc6); in ping_v6_sendmsg()
144 ipc6.opt = NULL; in ping_v6_sendmsg()
150 fl6.flowi6_mark = ipc6.sockc.mark; in ping_v6_sendmsg()
156 fl6.flowlabel = ip6_make_flowinfo(ipc6.tclass, fl6.flowlabel); in ping_v6_sendmsg()
177 if (ipc6.hlimit < 0) in ping_v6_sendmsg()
[all …]
Draw.c750 struct ipcm6_cookie ipc6; in rawv6_sendmsg() local
781 ipcm6_init(&ipc6); in rawv6_sendmsg()
782 ipc6.sockc.tsflags = sk->sk_tsflags; in rawv6_sendmsg()
783 ipc6.sockc.mark = sk->sk_mark; in rawv6_sendmsg()
841 ipc6.opt = opt; in rawv6_sendmsg()
843 err = ip6_datagram_send_ctl(sock_net(sk), sk, msg, &fl6, &ipc6); in rawv6_sendmsg()
865 fl6.flowi6_mark = ipc6.sockc.mark; in rawv6_sendmsg()
893 if (ipc6.tclass < 0) in rawv6_sendmsg()
894 ipc6.tclass = np->tclass; in rawv6_sendmsg()
896 fl6.flowlabel = ip6_make_flowinfo(ipc6.tclass, fl6.flowlabel); in rawv6_sendmsg()
[all …]
Dicmp.c454 struct ipcm6_cookie ipc6; in icmp6_send() local
586 ipcm6_init_sk(&ipc6, np); in icmp6_send()
587 ipc6.sockc.mark = mark; in icmp6_send()
588 fl6.flowlabel = ip6_make_flowinfo(ipc6.tclass, fl6.flowlabel); in icmp6_send()
594 ipc6.hlimit = ip6_sk_dst_hoplimit(np, &fl6, dst); in icmp6_send()
614 &ipc6, &fl6, (struct rt6_info *)dst, in icmp6_send()
719 struct ipcm6_cookie ipc6; in icmpv6_echo_reply() local
788 ipcm6_init_sk(&ipc6, np); in icmpv6_echo_reply()
789 ipc6.hlimit = ip6_sk_dst_hoplimit(np, &fl6, dst); in icmpv6_echo_reply()
790 ipc6.tclass = ipv6_get_dsfield(ipv6_hdr(skb)); in icmpv6_echo_reply()
[all …]
Dip6_output.c1391 struct inet6_cork *v6_cork, struct ipcm6_cookie *ipc6, in ip6_setup_cork() argument
1396 struct ipv6_txoptions *nopt, *opt = ipc6->opt; in ip6_setup_cork()
1436 v6_cork->hop_limit = ipc6->hlimit; in ip6_setup_cork()
1437 v6_cork->tclass = ipc6->tclass; in ip6_setup_cork()
1449 cork->base.gso_size = ipc6->gso_size; in ip6_setup_cork()
1451 cork->base.mark = ipc6->sockc.mark; in ip6_setup_cork()
1452 sock_tx_timestamp(sk, ipc6->sockc.tsflags, &cork->base.tx_flags); in ip6_setup_cork()
1458 cork->base.transmit_time = ipc6->sockc.transmit_time; in ip6_setup_cork()
1471 unsigned int flags, struct ipcm6_cookie *ipc6) in __ip6_append_data() argument
1531 if (cork->length + length > mtu - headersize && ipc6->dontfrag && in __ip6_append_data()
[all …]
Dudp.c1339 struct ipcm6_cookie ipc6; in udpv6_sendmsg() local
1348 ipcm6_init(&ipc6); in udpv6_sendmsg()
1349 ipc6.gso_size = READ_ONCE(up->gso_size); in udpv6_sendmsg()
1350 ipc6.sockc.tsflags = sk->sk_tsflags; in udpv6_sendmsg()
1351 ipc6.sockc.mark = sk->sk_mark; in udpv6_sendmsg()
1479 ipc6.opt = opt; in udpv6_sendmsg()
1481 err = udp_cmsg_send(sk, msg, &ipc6.gso_size); in udpv6_sendmsg()
1484 &ipc6); in udpv6_sendmsg()
1505 ipc6.opt = opt; in udpv6_sendmsg()
1508 fl6->flowi6_mark = ipc6.sockc.mark; in udpv6_sendmsg()
[all …]
Ddatagram.c760 struct ipcm6_cookie *ipc6) in ip6_datagram_send_ctl() argument
766 struct ipv6_txoptions *opt = ipc6->opt; in ip6_datagram_send_ctl()
779 err = __sock_cmsg_send(sk, msg, cmsg, &ipc6->sockc); in ip6_datagram_send_ctl()
991 ipc6->hlimit = *(int *)CMSG_DATA(cmsg); in ip6_datagram_send_ctl()
992 if (ipc6->hlimit < -1 || ipc6->hlimit > 0xff) { in ip6_datagram_send_ctl()
1012 ipc6->tclass = tc; in ip6_datagram_send_ctl()
1030 ipc6->dontfrag = df; in ip6_datagram_send_ctl()
Dip6_flowlabel.c394 struct ipcm6_cookie ipc6; in fl_create() local
412 ipc6.opt = fl->opt; in fl_create()
413 err = ip6_datagram_send_ctl(net, sk, &msg, &flowi6, &ipc6); in fl_create()
Dipv6_sockglue.c702 struct ipcm6_cookie ipc6; in do_ipv6_setsockopt() local
732 ipc6.opt = opt; in do_ipv6_setsockopt()
734 retv = ip6_datagram_send_ctl(net, sk, &msg, &fl6, &ipc6); in do_ipv6_setsockopt()
/linux-6.1.9/net/l2tp/
Dl2tp_ip6.c504 struct ipcm6_cookie ipc6; in l2tp_ip6_sendmsg() local
527 ipcm6_init(&ipc6); in l2tp_ip6_sendmsg()
572 ipc6.opt = opt; in l2tp_ip6_sendmsg()
574 err = ip6_datagram_send_ctl(sock_net(sk), sk, msg, &fl6, &ipc6); in l2tp_ip6_sendmsg()
595 ipc6.opt = opt; in l2tp_ip6_sendmsg()
614 if (ipc6.tclass < 0) in l2tp_ip6_sendmsg()
615 ipc6.tclass = np->tclass; in l2tp_ip6_sendmsg()
617 fl6.flowlabel = ip6_make_flowinfo(ipc6.tclass, fl6.flowlabel); in l2tp_ip6_sendmsg()
625 if (ipc6.hlimit < 0) in l2tp_ip6_sendmsg()
626 ipc6.hlimit = ip6_sk_dst_hoplimit(np, &fl6, dst); in l2tp_ip6_sendmsg()
[all …]
/linux-6.1.9/include/net/
Dtransp_v6.h47 struct flowi6 *fl6, struct ipcm6_cookie *ipc6);
Dipv6.h366 static inline void ipcm6_init(struct ipcm6_cookie *ipc6) in ipcm6_init() argument
368 *ipc6 = (struct ipcm6_cookie) { in ipcm6_init()
375 static inline void ipcm6_init_sk(struct ipcm6_cookie *ipc6, in ipcm6_init_sk() argument
378 *ipc6 = (struct ipcm6_cookie) { in ipcm6_init_sk()
1067 struct ipcm6_cookie *ipc6, struct flowi6 *fl6,
1083 struct ipcm6_cookie *ipc6,