Home
last modified time | relevance | path

Searched refs:sockc (Results 1 – 19 of 19) sorted by relevance

/linux-6.12.1/net/ipv6/
Dping.c122 ipc6.sockc.tsflags = READ_ONCE(sk->sk_tsflags); in ping_v6_sendmsg()
123 ipc6.sockc.mark = READ_ONCE(sk->sk_mark); in ping_v6_sendmsg()
146 fl6.flowi6_mark = ipc6.sockc.mark; in ping_v6_sendmsg()
Draw.c595 unsigned int flags, const struct sockcm_cookie *sockc) in rawv6_send_hdrinc() argument
623 skb->mark = sockc->mark; in rawv6_send_hdrinc()
624 skb_set_delivery_type_by_clockid(skb, sockc->transmit_time, sk->sk_clockid); in rawv6_send_hdrinc()
632 skb_setup_tx_timestamp(skb, sockc->tsflags); in rawv6_send_hdrinc()
781 ipc6.sockc.tsflags = READ_ONCE(sk->sk_tsflags); in rawv6_sendmsg()
782 ipc6.sockc.mark = fl6.flowi6_mark; in rawv6_sendmsg()
865 fl6.flowi6_mark = ipc6.sockc.mark; in rawv6_sendmsg()
915 msg->msg_flags, &ipc6.sockc); in rawv6_sendmsg()
Dicmp.c598 ipc6.sockc.mark = mark; in icmp6_send()
805 ipc6.sockc.mark = mark; in icmpv6_echo_reply()
Dudp.c1354 ipc6.sockc.tsflags = READ_ONCE(sk->sk_tsflags); in udpv6_sendmsg()
1355 ipc6.sockc.mark = READ_ONCE(sk->sk_mark); in udpv6_sendmsg()
1515 fl6->flowi6_mark = ipc6.sockc.mark; in udpv6_sendmsg()
Dip6_output.c1403 cork->base.mark = ipc6->sockc.mark; in ip6_setup_cork()
1404 sock_tx_timestamp(sk, ipc6->sockc.tsflags, &cork->base.tx_flags); in ip6_setup_cork()
1407 cork->base.transmit_time = ipc6->sockc.transmit_time; in ip6_setup_cork()
Ddatagram.c780 err = __sock_cmsg_send(sk, cmsg, &ipc6->sockc); in ip6_datagram_send_ctl()
/linux-6.12.1/net/ipv4/
Draw.c329 const struct sockcm_cookie *sockc) in raw_send_hdrinc() argument
362 skb->mark = sockc->mark; in raw_send_hdrinc()
363 skb_set_delivery_type_by_clockid(skb, sockc->transmit_time, sk->sk_clockid); in raw_send_hdrinc()
373 skb_setup_tx_timestamp(skb, sockc->tsflags); in raw_send_hdrinc()
609 flowi4_init_output(&fl4, ipc.oif, ipc.sockc.mark, tos, scope, in raw_sendmsg()
645 &rt, msg->msg_flags, &ipc.sockc); in raw_sendmsg()
Dip_output.c1325 cork->mark = ipc->sockc.mark; in ip_setup_cork()
1327 cork->transmit_time = ipc->sockc.transmit_time; in ip_setup_cork()
1329 sock_tx_timestamp(sk, ipc->sockc.tsflags, &cork->tx_flags); in ip_setup_cork()
1610 ipc.sockc.transmit_time = transmit_time; in ip_send_unicast_reply()
1641 ipc.sockc.mark = fl4.flowi4_mark; in ip_send_unicast_reply()
Dicmp.c434 ipc.sockc.mark = mark; in icmp_reply()
742 ipc.sockc.mark = mark; in __icmp_send()
Dtcp.c1056 struct sockcm_cookie sockc; in tcp_sendmsg_locked() local
1125 sockcm_init(&sockc, sk); in tcp_sendmsg_locked()
1127 err = sock_cmsg_send(sk, msg, &sockc); in tcp_sendmsg_locked()
1324 tcp_tx_timestamp(sk, sockc.tsflags); in tcp_sendmsg_locked()
Dping.c782 flowi4_init_output(&fl4, ipc.oif, ipc.sockc.mark, tos, scope, in ping_v4_sendmsg()
Dip_sockglue.c270 err = __sock_cmsg_send(sk, cmsg, &ipc->sockc); in ip_cmsg_send()
Dudp.c1233 flowi4_init_output(fl4, ipc.oif, ipc.sockc.mark, tos, scope, in udp_sendmsg()
/linux-6.12.1/net/can/
Draw.c903 struct sockcm_cookie sockc; in raw_sendmsg() local
957 sockcm_init(&sockc, sk); in raw_sendmsg()
959 err = sock_cmsg_send(sk, msg, &sockc); in raw_sendmsg()
967 skb->tstamp = sockc.transmit_time; in raw_sendmsg()
969 skb_setup_tx_timestamp(skb, sockc.tsflags); in raw_sendmsg()
/linux-6.12.1/net/packet/
Daf_packet.c2020 struct sockcm_cookie sockc; in packet_sendmsg_spkt() local
2109 sockcm_init(&sockc, sk); in packet_sendmsg_spkt()
2111 err = sock_cmsg_send(sk, msg, &sockc); in packet_sendmsg_spkt()
2120 skb_set_delivery_type_by_clockid(skb, sockc.transmit_time, sk->sk_clockid); in packet_sendmsg_spkt()
2121 skb_setup_tx_timestamp(skb, sockc.tsflags); in packet_sendmsg_spkt()
2638 const struct sockcm_cookie *sockc) in tpacket_fill_skb() argument
2652 skb_set_delivery_type_by_clockid(skb, sockc->transmit_time, po->sk.sk_clockid); in tpacket_fill_skb()
2653 skb_setup_tx_timestamp(skb, sockc->tsflags); in tpacket_fill_skb()
2788 struct sockcm_cookie sockc; in tpacket_snd() local
2840 sockcm_init(&sockc, &po->sk); in tpacket_snd()
[all …]
/linux-6.12.1/include/net/
Dip.h77 struct sockcm_cookie sockc; member
98 ipcm->sockc.mark = READ_ONCE(inet->sk.sk_mark); in ipcm_init_sk()
99 ipcm->sockc.tsflags = READ_ONCE(inet->sk.sk_tsflags); in ipcm_init_sk()
Dsock.h1803 static inline void sockcm_init(struct sockcm_cookie *sockc, in sockcm_init() argument
1806 *sockc = (struct sockcm_cookie) { in sockcm_init()
1812 struct sockcm_cookie *sockc);
1814 struct sockcm_cookie *sockc);
Dipv6.h358 struct sockcm_cookie sockc; member
/linux-6.12.1/net/core/
Dsock.c2904 struct sockcm_cookie *sockc) in __sock_cmsg_send() argument
2915 sockc->mark = *(u32 *)CMSG_DATA(cmsg); in __sock_cmsg_send()
2926 sockc->tsflags &= ~SOF_TIMESTAMPING_TX_RECORD_MASK; in __sock_cmsg_send()
2927 sockc->tsflags |= tsflags; in __sock_cmsg_send()
2934 sockc->transmit_time = get_unaligned((u64 *)CMSG_DATA(cmsg)); in __sock_cmsg_send()
2948 struct sockcm_cookie *sockc) in sock_cmsg_send() argument
2958 ret = __sock_cmsg_send(sk, cmsg, sockc); in sock_cmsg_send()