/kernel/linux/linux-5.10/net/l2tp/ |
D | l2tp_ip6.c | 500 struct ipcm6_cookie ipc6; in l2tp_ip6_sendmsg() local 523 ipcm6_init(&ipc6); in l2tp_ip6_sendmsg() 568 ipc6.opt = opt; in l2tp_ip6_sendmsg() 570 err = ip6_datagram_send_ctl(sock_net(sk), sk, msg, &fl6, &ipc6); in l2tp_ip6_sendmsg() 591 ipc6.opt = opt; in l2tp_ip6_sendmsg() 610 if (ipc6.tclass < 0) in l2tp_ip6_sendmsg() 611 ipc6.tclass = np->tclass; in l2tp_ip6_sendmsg() 613 fl6.flowlabel = ip6_make_flowinfo(ipc6.tclass, fl6.flowlabel); in l2tp_ip6_sendmsg() 621 if (ipc6.hlimit < 0) in l2tp_ip6_sendmsg() 622 ipc6.hlimit = ip6_sk_dst_hoplimit(np, &fl6, dst); in l2tp_ip6_sendmsg() [all …]
|
/kernel/linux/linux-5.10/net/ipv6/ |
D | ping.c | 60 struct ipcm6_cookie ipc6; in ping_v6_sendmsg() local 116 ipcm6_init_sk(&ipc6, np); in ping_v6_sendmsg() 117 ipc6.sockc.mark = sk->sk_mark; in ping_v6_sendmsg() 118 fl6.flowlabel = ip6_make_flowinfo(ipc6.tclass, fl6.flowlabel); in ping_v6_sendmsg() 139 ipc6.hlimit = ip6_sk_dst_hoplimit(np, &fl6, dst); in ping_v6_sendmsg() 143 0, &ipc6, &fl6, rt, in ping_v6_sendmsg()
|
D | raw.c | 784 struct ipcm6_cookie ipc6; in rawv6_sendmsg() local 815 ipcm6_init(&ipc6); in rawv6_sendmsg() 816 ipc6.sockc.tsflags = sk->sk_tsflags; in rawv6_sendmsg() 817 ipc6.sockc.mark = sk->sk_mark; in rawv6_sendmsg() 876 ipc6.opt = opt; in rawv6_sendmsg() 878 err = ip6_datagram_send_ctl(sock_net(sk), sk, msg, &fl6, &ipc6); in rawv6_sendmsg() 900 fl6.flowi6_mark = ipc6.sockc.mark; in rawv6_sendmsg() 928 if (ipc6.tclass < 0) in rawv6_sendmsg() 929 ipc6.tclass = np->tclass; in rawv6_sendmsg() 931 fl6.flowlabel = ip6_make_flowinfo(ipc6.tclass, fl6.flowlabel); in rawv6_sendmsg() [all …]
|
D | icmp.c | 461 struct ipcm6_cookie ipc6; in icmp6_send() local 593 ipcm6_init_sk(&ipc6, np); in icmp6_send() 594 ipc6.sockc.mark = mark; in icmp6_send() 595 fl6.flowlabel = ip6_make_flowinfo(ipc6.tclass, fl6.flowlabel); in icmp6_send() 601 ipc6.hlimit = ip6_sk_dst_hoplimit(np, &fl6, dst); in icmp6_send() 621 &ipc6, &fl6, (struct rt6_info *)dst, in icmp6_send() 725 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 …]
|
D | ip6_output.c | 1380 struct inet6_cork *v6_cork, struct ipcm6_cookie *ipc6, in ip6_setup_cork() argument 1385 struct ipv6_txoptions *opt = ipc6->opt; in ip6_setup_cork() 1427 v6_cork->hop_limit = ipc6->hlimit; in ip6_setup_cork() 1428 v6_cork->tclass = ipc6->tclass; in ip6_setup_cork() 1440 cork->base.gso_size = ipc6->gso_size; in ip6_setup_cork() 1442 cork->base.mark = ipc6->sockc.mark; in ip6_setup_cork() 1443 sock_tx_timestamp(sk, ipc6->sockc.tsflags, &cork->base.tx_flags); in ip6_setup_cork() 1449 cork->base.transmit_time = ipc6->sockc.transmit_time; in ip6_setup_cork() 1463 unsigned int flags, struct ipcm6_cookie *ipc6) in __ip6_append_data() argument 1520 if (cork->length + length > mtu - headersize && ipc6->dontfrag && in __ip6_append_data() [all …]
|
D | udp.c | 1301 struct ipcm6_cookie ipc6; in udpv6_sendmsg() local 1310 ipcm6_init(&ipc6); in udpv6_sendmsg() 1311 ipc6.gso_size = READ_ONCE(up->gso_size); in udpv6_sendmsg() 1312 ipc6.sockc.tsflags = sk->sk_tsflags; in udpv6_sendmsg() 1313 ipc6.sockc.mark = sk->sk_mark; in udpv6_sendmsg() 1444 ipc6.opt = opt; in udpv6_sendmsg() 1446 err = udp_cmsg_send(sk, msg, &ipc6.gso_size); in udpv6_sendmsg() 1449 &ipc6); in udpv6_sendmsg() 1470 ipc6.opt = opt; in udpv6_sendmsg() 1473 fl6.flowi6_mark = ipc6.sockc.mark; in udpv6_sendmsg() [all …]
|
D | datagram.c | 755 struct ipcm6_cookie *ipc6) in ip6_datagram_send_ctl() argument 761 struct ipv6_txoptions *opt = ipc6->opt; in ip6_datagram_send_ctl() 774 err = __sock_cmsg_send(sk, msg, cmsg, &ipc6->sockc); in ip6_datagram_send_ctl() 986 ipc6->hlimit = *(int *)CMSG_DATA(cmsg); in ip6_datagram_send_ctl() 987 if (ipc6->hlimit < -1 || ipc6->hlimit > 0xff) { in ip6_datagram_send_ctl() 1007 ipc6->tclass = tc; in ip6_datagram_send_ctl() 1025 ipc6->dontfrag = df; in ip6_datagram_send_ctl()
|
D | ip6_flowlabel.c | 394 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()
|
D | ipv6_sockglue.c | 693 struct ipcm6_cookie ipc6; in do_ipv6_setsockopt() local 723 ipc6.opt = opt; in do_ipv6_setsockopt() 725 retv = ip6_datagram_send_ctl(net, sk, &msg, &fl6, &ipc6); in do_ipv6_setsockopt()
|
/kernel/linux/linux-5.10/include/net/ |
D | transp_v6.h | 45 struct flowi6 *fl6, struct ipcm6_cookie *ipc6);
|
D | ipv6.h | 352 static inline void ipcm6_init(struct ipcm6_cookie *ipc6) in ipcm6_init() argument 354 *ipc6 = (struct ipcm6_cookie) { in ipcm6_init() 361 static inline void ipcm6_init_sk(struct ipcm6_cookie *ipc6, in ipcm6_init_sk() argument 364 *ipc6 = (struct ipcm6_cookie) { in ipcm6_init_sk() 995 struct ipcm6_cookie *ipc6, struct flowi6 *fl6, 1011 struct ipcm6_cookie *ipc6, struct flowi6 *fl6,
|