Home
last modified time | relevance | path

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

/net/l2tp/
Dl2tp_ip6.c500 struct ipcm6_cookie ipc6; in l2tp_ip6_sendmsg() local
522 ipcm6_init(&ipc6); in l2tp_ip6_sendmsg()
567 ipc6.opt = opt; in l2tp_ip6_sendmsg()
569 err = ip6_datagram_send_ctl(sock_net(sk), sk, msg, &fl6, &ipc6); in l2tp_ip6_sendmsg()
590 ipc6.opt = opt; in l2tp_ip6_sendmsg()
609 if (ipc6.tclass < 0) in l2tp_ip6_sendmsg()
610 ipc6.tclass = np->tclass; in l2tp_ip6_sendmsg()
612 fl6.flowlabel = ip6_make_flowinfo(ipc6.tclass, fl6.flowlabel); in l2tp_ip6_sendmsg()
620 if (ipc6.hlimit < 0) in l2tp_ip6_sendmsg()
621 ipc6.hlimit = ip6_sk_dst_hoplimit(np, &fl6, dst); in l2tp_ip6_sendmsg()
[all …]
/net/ipv6/
Dping.c60 struct ipcm6_cookie ipc6; in ping_v6_sendmsg() local
117 ipcm6_init_sk(&ipc6, np); in ping_v6_sendmsg()
118 ipc6.sockc.mark = sk->sk_mark; in ping_v6_sendmsg()
119 fl6.flowlabel = ip6_make_flowinfo(ipc6.tclass, fl6.flowlabel); in ping_v6_sendmsg()
140 ipc6.hlimit = ip6_sk_dst_hoplimit(np, &fl6, dst); in ping_v6_sendmsg()
144 0, &ipc6, &fl6, rt, in ping_v6_sendmsg()
Draw.c784 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 …]
Dip6_output.c1375 struct inet6_cork *v6_cork, struct ipcm6_cookie *ipc6, in ip6_setup_cork() argument
1380 struct ipv6_txoptions *opt = ipc6->opt; in ip6_setup_cork()
1422 v6_cork->hop_limit = ipc6->hlimit; in ip6_setup_cork()
1423 v6_cork->tclass = ipc6->tclass; in ip6_setup_cork()
1435 cork->base.gso_size = ipc6->gso_size; in ip6_setup_cork()
1437 cork->base.mark = ipc6->sockc.mark; in ip6_setup_cork()
1438 sock_tx_timestamp(sk, ipc6->sockc.tsflags, &cork->base.tx_flags); in ip6_setup_cork()
1444 cork->base.transmit_time = ipc6->sockc.transmit_time; in ip6_setup_cork()
1458 unsigned int flags, struct ipcm6_cookie *ipc6) in __ip6_append_data() argument
1515 if (cork->length + length > mtu - headersize && ipc6->dontfrag && in __ip6_append_data()
[all …]
Dicmp.c465 struct ipcm6_cookie ipc6; in icmp6_send() local
597 ipcm6_init_sk(&ipc6, np); in icmp6_send()
598 ipc6.sockc.mark = mark; in icmp6_send()
599 fl6.flowlabel = ip6_make_flowinfo(ipc6.tclass, fl6.flowlabel); in icmp6_send()
605 ipc6.hlimit = ip6_sk_dst_hoplimit(np, &fl6, dst); in icmp6_send()
625 &ipc6, &fl6, (struct rt6_info *)dst, in icmp6_send()
729 struct ipcm6_cookie ipc6; in icmpv6_echo_reply() local
798 ipcm6_init_sk(&ipc6, np); in icmpv6_echo_reply()
799 ipc6.hlimit = ip6_sk_dst_hoplimit(np, &fl6, dst); in icmpv6_echo_reply()
800 ipc6.tclass = ipv6_get_dsfield(ipv6_hdr(skb)); in icmpv6_echo_reply()
[all …]
Dudp.c1336 struct ipcm6_cookie ipc6; in udpv6_sendmsg() local
1345 ipcm6_init(&ipc6); in udpv6_sendmsg()
1346 ipc6.gso_size = READ_ONCE(up->gso_size); in udpv6_sendmsg()
1347 ipc6.sockc.tsflags = sk->sk_tsflags; in udpv6_sendmsg()
1348 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.c755 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()
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.c690 struct ipcm6_cookie ipc6; in do_ipv6_setsockopt() local
720 ipc6.opt = opt; in do_ipv6_setsockopt()
722 retv = ip6_datagram_send_ctl(net, sk, &msg, &fl6, &ipc6); in do_ipv6_setsockopt()