/Linux-v5.10/net/l2tp/ |
D | l2tp_ip6.c | 502 struct ipcm6_cookie ipc6; in l2tp_ip6_sendmsg() local 524 ipcm6_init(&ipc6); in l2tp_ip6_sendmsg() 569 ipc6.opt = opt; in l2tp_ip6_sendmsg() 571 err = ip6_datagram_send_ctl(sock_net(sk), sk, msg, &fl6, &ipc6); in l2tp_ip6_sendmsg() 592 ipc6.opt = opt; in l2tp_ip6_sendmsg() 611 if (ipc6.tclass < 0) in l2tp_ip6_sendmsg() 612 ipc6.tclass = np->tclass; in l2tp_ip6_sendmsg() 614 fl6.flowlabel = ip6_make_flowinfo(ipc6.tclass, fl6.flowlabel); in l2tp_ip6_sendmsg() 622 if (ipc6.hlimit < 0) in l2tp_ip6_sendmsg() 623 ipc6.hlimit = ip6_sk_dst_hoplimit(np, &fl6, dst); in l2tp_ip6_sendmsg() [all …]
|
/Linux-v5.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 | 780 struct ipcm6_cookie ipc6; in rawv6_sendmsg() local 811 ipcm6_init(&ipc6); in rawv6_sendmsg() 812 ipc6.sockc.tsflags = sk->sk_tsflags; in rawv6_sendmsg() 813 ipc6.sockc.mark = sk->sk_mark; in rawv6_sendmsg() 871 ipc6.opt = opt; in rawv6_sendmsg() 873 err = ip6_datagram_send_ctl(sock_net(sk), sk, msg, &fl6, &ipc6); in rawv6_sendmsg() 895 fl6.flowi6_mark = ipc6.sockc.mark; in rawv6_sendmsg() 923 if (ipc6.tclass < 0) in rawv6_sendmsg() 924 ipc6.tclass = np->tclass; in rawv6_sendmsg() 926 fl6.flowlabel = ip6_make_flowinfo(ipc6.tclass, fl6.flowlabel); in rawv6_sendmsg() [all …]
|
D | ip6_output.c | 1306 struct inet6_cork *v6_cork, struct ipcm6_cookie *ipc6, in ip6_setup_cork() argument 1311 struct ipv6_txoptions *opt = ipc6->opt; in ip6_setup_cork() 1353 v6_cork->hop_limit = ipc6->hlimit; in ip6_setup_cork() 1354 v6_cork->tclass = ipc6->tclass; in ip6_setup_cork() 1368 cork->base.gso_size = ipc6->gso_size; in ip6_setup_cork() 1370 cork->base.mark = ipc6->sockc.mark; in ip6_setup_cork() 1371 sock_tx_timestamp(sk, ipc6->sockc.tsflags, &cork->base.tx_flags); in ip6_setup_cork() 1377 cork->base.transmit_time = ipc6->sockc.transmit_time; in ip6_setup_cork() 1391 unsigned int flags, struct ipcm6_cookie *ipc6) in __ip6_append_data() argument 1443 if (cork->length + length > mtu - headersize && ipc6->dontfrag && in __ip6_append_data() [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 | udp.c | 1287 struct ipcm6_cookie ipc6; in udpv6_sendmsg() local 1296 ipcm6_init(&ipc6); in udpv6_sendmsg() 1297 ipc6.gso_size = up->gso_size; in udpv6_sendmsg() 1298 ipc6.sockc.tsflags = sk->sk_tsflags; in udpv6_sendmsg() 1299 ipc6.sockc.mark = sk->sk_mark; in udpv6_sendmsg() 1422 fl6.flowi6_mark = ipc6.sockc.mark; in udpv6_sendmsg() 1429 ipc6.opt = opt; in udpv6_sendmsg() 1431 err = udp_cmsg_send(sk, msg, &ipc6.gso_size); in udpv6_sendmsg() 1434 &ipc6); in udpv6_sendmsg() 1455 ipc6.opt = opt; 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 | 688 struct ipcm6_cookie ipc6; in do_ipv6_setsockopt() local 718 ipc6.opt = opt; in do_ipv6_setsockopt() 720 retv = ip6_datagram_send_ctl(net, sk, &msg, &fl6, &ipc6); in do_ipv6_setsockopt()
|
/Linux-v5.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() 996 struct ipcm6_cookie *ipc6, struct flowi6 *fl6, 1012 struct ipcm6_cookie *ipc6, struct flowi6 *fl6,
|