Searched refs:packet_sock_flag (Results 1 - 6 of 6) sorted by relevance
/kernel/linux/linux-6.6/net/packet/ |
H A D | diag.c | 24 if (packet_sock_flag(po, PACKET_SOCK_RUNNING)) in pdiag_put_info() 26 if (packet_sock_flag(po, PACKET_SOCK_AUXDATA)) in pdiag_put_info() 28 if (packet_sock_flag(po, PACKET_SOCK_ORIGDEV)) in pdiag_put_info() 32 if (packet_sock_flag(po, PACKET_SOCK_TP_LOSS)) in pdiag_put_info()
|
H A D | af_packet.c | 275 if (!packet_sock_flag(po, PACKET_SOCK_QDISC_BYPASS)) in packet_xmit() 340 if (!packet_sock_flag(po, PACKET_SOCK_RUNNING)) { in __register_prot_hook() 389 if (packet_sock_flag(po, PACKET_SOCK_RUNNING)) in unregister_prot_hook() 1317 if (packet_sock_flag(po, PACKET_SOCK_PRESSURE) != pressure) in packet_rcv_has_room() 1325 if (packet_sock_flag(po, PACKET_SOCK_PRESSURE) && in packet_rcv_try_clear_pressure() 1415 !packet_sock_flag(po_next, PACKET_SOCK_PRESSURE) && in fanout_demux_rollover() 1788 if (packet_sock_flag(po, PACKET_SOCK_RUNNING) && in fanout_add() 2188 if (unlikely(packet_sock_flag(po, PACKET_SOCK_ORIGDEV))) in packet_rcv() 2465 if (unlikely(packet_sock_flag(po, PACKET_SOCK_ORIGDEV))) in tpacket_rcv() 2685 if (unlikely(packet_sock_flag(p in tpacket_parse_header() [all...] |
H A D | internal.h | 158 static inline bool packet_sock_flag(const struct packet_sock *po, in packet_sock_flag() function
|
/kernel/linux/linux-5.10/net/packet/ |
H A D | diag.c | 26 if (packet_sock_flag(po, PACKET_SOCK_AUXDATA)) in pdiag_put_info() 28 if (packet_sock_flag(po, PACKET_SOCK_ORIGDEV)) in pdiag_put_info()
|
H A D | internal.h | 161 static inline bool packet_sock_flag(const struct packet_sock *po, in packet_sock_flag() function
|
H A D | af_packet.c | 2151 if (unlikely(packet_sock_flag(po, PACKET_SOCK_ORIGDEV))) in packet_rcv() 2424 if (unlikely(packet_sock_flag(po, PACKET_SOCK_ORIGDEV))) in tpacket_rcv() 3492 if (packet_sock_flag(pkt_sk(sk), PACKET_SOCK_AUXDATA)) { in packet_recvmsg() 4037 val = packet_sock_flag(po, PACKET_SOCK_AUXDATA); in packet_getsockopt() 4040 val = packet_sock_flag(po, PACKET_SOCK_ORIGDEV); in packet_getsockopt()
|
Completed in 12 milliseconds