Home
last modified time | relevance | path

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

/openbmc/linux/net/ipv6/
H A 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()
H A Draw.c588 unsigned int flags, const struct sockcm_cookie *sockc) in rawv6_send_hdrinc() argument
617 skb->mark = sockc->mark; in rawv6_send_hdrinc()
618 skb->tstamp = sockc->transmit_time; in rawv6_send_hdrinc()
626 skb_setup_tx_timestamp(skb, sockc->tsflags); in rawv6_send_hdrinc()
775 ipc6.sockc.tsflags = READ_ONCE(sk->sk_tsflags); in rawv6_sendmsg()
776 ipc6.sockc.mark = fl6.flowi6_mark; in rawv6_sendmsg()
859 fl6.flowi6_mark = ipc6.sockc.mark; in rawv6_sendmsg()
909 msg->msg_flags, &ipc6.sockc); in rawv6_sendmsg()
H A Dicmp.c598 ipc6.sockc.mark = mark; in icmp6_send()
805 ipc6.sockc.mark = mark; in icmpv6_echo_reply()
H A Dudp.c1355 ipc6.sockc.tsflags = READ_ONCE(sk->sk_tsflags); in udpv6_sendmsg()
1356 ipc6.sockc.mark = READ_ONCE(sk->sk_mark); in udpv6_sendmsg()
1516 fl6->flowi6_mark = ipc6.sockc.mark; in udpv6_sendmsg()
H A Dip6_output.c1468 cork->base.mark = ipc6->sockc.mark; in ip6_setup_cork()
1469 sock_tx_timestamp(sk, ipc6->sockc.tsflags, &cork->base.tx_flags); in ip6_setup_cork()
1475 cork->base.transmit_time = ipc6->sockc.transmit_time; in ip6_setup_cork()
H A Ddatagram.c781 err = __sock_cmsg_send(sk, cmsg, &ipc6->sockc); in ip6_datagram_send_ctl()
/openbmc/linux/net/can/
H A Draw.c830 struct sockcm_cookie sockc; in raw_sendmsg() local
876 sockcm_init(&sockc, sk); in raw_sendmsg()
878 err = sock_cmsg_send(sk, msg, &sockc); in raw_sendmsg()
886 skb->tstamp = sockc.transmit_time; in raw_sendmsg()
888 skb_setup_tx_timestamp(skb, sockc.tsflags); in raw_sendmsg()
/openbmc/linux/net/ipv4/
H A Draw.c322 const struct sockcm_cookie *sockc) in raw_send_hdrinc() argument
355 skb->mark = sockc->mark; in raw_send_hdrinc()
356 skb->tstamp = sockc->transmit_time; in raw_send_hdrinc()
366 skb_setup_tx_timestamp(skb, sockc->tsflags); in raw_send_hdrinc()
601 flowi4_init_output(&fl4, ipc.oif, ipc.sockc.mark, tos, scope, in raw_sendmsg()
637 &rt, msg->msg_flags, &ipc.sockc); in raw_sendmsg()
H A Dip_output.c1324 cork->mark = ipc->sockc.mark; in ip_setup_cork()
1326 cork->transmit_time = ipc->sockc.transmit_time; in ip_setup_cork()
1328 sock_tx_timestamp(sk, ipc->sockc.tsflags, &cork->tx_flags); in ip_setup_cork()
1605 ipc.sockc.transmit_time = transmit_time; in ip_send_unicast_reply()
1636 ipc.sockc.mark = fl4.flowi4_mark; in ip_send_unicast_reply()
H A Dicmp.c438 ipc.sockc.mark = mark; in icmp_reply()
744 ipc.sockc.mark = mark; in __icmp_send()
H A Dtcp.c1043 struct sockcm_cookie sockc; in tcp_sendmsg_locked() local
1112 sockcm_init(&sockc, sk); in tcp_sendmsg_locked()
1114 err = sock_cmsg_send(sk, msg, &sockc); in tcp_sendmsg_locked()
1311 tcp_tx_timestamp(sk, sockc.tsflags); in tcp_sendmsg_locked()
H A Dping.c782 flowi4_init_output(&fl4, ipc.oif, ipc.sockc.mark, tos, scope, in ping_v4_sendmsg()
H A Dip_sockglue.c272 err = __sock_cmsg_send(sk, cmsg, &ipc->sockc); in ip_cmsg_send()
H A Dudp.c1231 flowi4_init_output(fl4, ipc.oif, ipc.sockc.mark, tos, scope, in udp_sendmsg()
/openbmc/linux/net/packet/
H A Daf_packet.c2006 struct sockcm_cookie sockc; in packet_sendmsg_spkt() local
2095 sockcm_init(&sockc, sk); in packet_sendmsg_spkt()
2097 err = sock_cmsg_send(sk, msg, &sockc); in packet_sendmsg_spkt()
2106 skb->tstamp = sockc.transmit_time; in packet_sendmsg_spkt()
2108 skb_setup_tx_timestamp(skb, sockc.tsflags); in packet_sendmsg_spkt()
2631 const struct sockcm_cookie *sockc) in tpacket_fill_skb() argument
2645 skb->tstamp = sockc->transmit_time; in tpacket_fill_skb()
2646 skb_setup_tx_timestamp(skb, sockc->tsflags); in tpacket_fill_skb()
2781 struct sockcm_cookie sockc; in tpacket_snd() local
2833 sockcm_init(&sockc, &po->sk); in tpacket_snd()
[all …]
/openbmc/linux/include/net/
H A Dip.h76 struct sockcm_cookie sockc; member
97 ipcm->sockc.mark = READ_ONCE(inet->sk.sk_mark); in ipcm_init_sk()
98 ipcm->sockc.tsflags = READ_ONCE(inet->sk.sk_tsflags); in ipcm_init_sk()
H A Dsock.h1924 static inline void sockcm_init(struct sockcm_cookie *sockc, in sockcm_init() argument
1927 *sockc = (struct sockcm_cookie) { in sockcm_init()
1933 struct sockcm_cookie *sockc);
1935 struct sockcm_cookie *sockc);
H A Dipv6.h358 struct sockcm_cookie sockc; member
/openbmc/linux/net/core/
H A Dsock.c2814 struct sockcm_cookie *sockc) in __sock_cmsg_send() argument
2825 sockc->mark = *(u32 *)CMSG_DATA(cmsg); in __sock_cmsg_send()
2836 sockc->tsflags &= ~SOF_TIMESTAMPING_TX_RECORD_MASK; in __sock_cmsg_send()
2837 sockc->tsflags |= tsflags; in __sock_cmsg_send()
2844 sockc->transmit_time = get_unaligned((u64 *)CMSG_DATA(cmsg)); in __sock_cmsg_send()
2858 struct sockcm_cookie *sockc) in sock_cmsg_send() argument
2868 ret = __sock_cmsg_send(sk, cmsg, sockc); in sock_cmsg_send()