Home
last modified time | relevance | path

Searched refs:sk_priority (Results 1 – 18 of 18) sorted by relevance

/linux/net/caif/
H A Dcaif_socket.c503 cfpkt_set_prio(pkt, cf_sk->sk.sk_priority); in transmit_skb()
813 if (cf_sk->sk.sk_priority > CAIF_PRIO_MAX) in caif_connect()
815 else if (cf_sk->sk.sk_priority < CAIF_PRIO_MIN) in caif_connect()
818 cf_sk->conn_req.priority = cf_sk->sk.sk_priority; in caif_connect()
1063 sk->sk_priority = TC_PRIO_CONTROL; in caif_create()
1066 sk->sk_priority = TC_PRIO_INTERACTIVE_BULK; in caif_create()
1069 sk->sk_priority = TC_PRIO_BESTEFFORT; in caif_create()
/linux/net/can/j1939/
H A Dsocket.c25 /* conversion function between struct sock::sk_priority from linux and
28 static inline priority_t j1939_prio(u32 sk_priority) in j1939_prio() argument
30 sk_priority = min(sk_priority, 7U); in j1939_prio()
32 return 7 - sk_priority; in j1939_prio()
407 jsk->sk.sk_priority = j1939_to_sk_priority(6); in j1939_sk_init()
759 jsk->sk.sk_priority = j1939_to_sk_priority(tmp); in j1939_sk_setsockopt()
794 tmp = j1939_prio(jsk->sk.sk_priority); in j1939_sk_getsockopt()
912 skcb->priority = j1939_prio(READ_ONCE(sk->sk_priority)); in j1939_sk_alloc_skb()
/linux/net/mptcp/
H A Dsockopt.c92 WRITE_ONCE(ssk->sk_priority, val); in mptcp_sol_socket_sync_intval()
1546 ssk->sk_priority = sk->sk_priority; in sync_socket_options()
/linux/net/netrom/
H A Daf_netrom.c490 sk->sk_priority = READ_ONCE(osk->sk_priority); in nr_make_new()
/linux/net/x25/
H A Daf_x25.c601 sk->sk_priority = READ_ONCE(osk->sk_priority); in x25_make_new()
/linux/net/rose/
H A Daf_rose.c612 sk->sk_priority = READ_ONCE(osk->sk_priority); in rose_make_new()
/linux/net/ipv6/
H A Dtcp_ipv6.c569 opt, tclass, READ_ONCE(sk->sk_priority)); in tcp_v6_send_synack()
1079 priority = READ_ONCE(sk->sk_priority); in tcp_v6_send_reset()
1248 READ_ONCE(sk->sk_priority),
/linux/net/ipv4/
H A Dip_output.c191 skb->priority = READ_ONCE(sk->sk_priority); in ip_build_and_send_pkt()
531 skb->priority = READ_ONCE(sk->sk_priority); in __ip_queue_xmit()
/linux/net/sched/
H A Dem_meta.c549 dst->value = READ_ONCE(sk->sk_priority); in META_COLLECTOR()
/linux/net/core/
H A Dsock.c821 WRITE_ONCE(sk->sk_priority, priority); in sock_set_priority()
1812 v.val = READ_ONCE(sk->sk_priority); in sk_getsockopt()
2575 newsk->sk_priority = 0; in sk_clone_lock()
4532 CACHELINE_ASSERT_GROUP_MEMBER(struct sock, sock_read_tx, sk_priority);
H A Dfilter.c10148 BUILD_BUG_ON(sizeof_field(struct sock, sk_priority) != 4); in bpf_sock_convert_ctx_access()
10152 offsetof(struct sock, sk_priority)); in bpf_sock_convert_ctx_access()
10155 offsetof(struct sock, sk_priority)); in bpf_sock_convert_ctx_access()
/linux/net/ax25/
H A Daf_ax25.c953 sk->sk_priority = READ_ONCE(osk->sk_priority); in ax25_make_new()
/linux/net/appletalk/
H A Daarp.c654 skb->priority = READ_ONCE(skb->sk->sk_priority); in aarp_send_ddp()
/linux/net/dccp/
H A Dipv6.c
/linux/include/net/
H A Dsock.h503 u32 sk_priority; member
1917 .priority = READ_ONCE(sk->sk_priority), in sockcm_init()
/linux/net/sctp/
H A Dipv6.c250 tclass, READ_ONCE(sk->sk_priority)); in sctp_v6_xmit()
/linux/net/bluetooth/
H A Dl2cap_sock.c1665 skb->priority = READ_ONCE(sk->sk_priority); in l2cap_sock_alloc_skb_cb()
/linux/net/xdp/
H A Dxsk.c645 skb->priority = READ_ONCE(xs->sk.sk_priority); in xsk_skb_init_misc()