Searched refs:packet_sock (Results 1 - 6 of 6) sorted by relevance
/kernel/linux/linux-5.10/net/packet/ |
H A D | internal.h | 109 struct packet_sock { struct 110 /* struct sock has to be the first member of packet_sock */ 141 static struct packet_sock *pkt_sk(struct sock *sk) in pkt_sk() 143 return (struct packet_sock *)sk; in pkt_sk() 151 static inline void packet_sock_flag_set(struct packet_sock *po, in packet_sock_flag_set() 161 static inline bool packet_sock_flag(const struct packet_sock *po, in packet_sock_flag()
|
H A D | af_packet.c | 185 struct packet_sock; 189 static void *packet_previous_frame(struct packet_sock *po, 195 struct packet_sock *); 197 struct packet_sock *, unsigned int status); 238 static void __fanout_unlink(struct sock *sk, struct packet_sock *po); 239 static void __fanout_link(struct sock *sk, struct packet_sock *po); 246 static struct net_device *packet_cached_dev_get(struct packet_sock *po) in packet_cached_dev_get() 259 static void packet_cached_dev_assign(struct packet_sock *po, in packet_cached_dev_assign() 265 static void packet_cached_dev_reset(struct packet_sock *po) in packet_cached_dev_reset() 270 static bool packet_use_direct_xmit(const struct packet_sock *p [all...] |
H A D | diag.c | 13 static int pdiag_put_info(const struct packet_sock *po, struct sk_buff *nlskb) in pdiag_put_info() 38 static int pdiag_put_mclist(const struct packet_sock *po, struct sk_buff *nlskb) in pdiag_put_mclist() 98 static int pdiag_put_rings_cfg(struct packet_sock *po, struct sk_buff *skb) in pdiag_put_rings_cfg() 113 static int pdiag_put_fanout(struct packet_sock *po, struct sk_buff *nlskb) in pdiag_put_fanout() 137 struct packet_sock *po = pkt_sk(sk); in sk_diag_fill()
|
/kernel/linux/linux-6.6/net/packet/ |
H A D | internal.h | 109 struct packet_sock { struct 110 /* struct sock has to be the first member of packet_sock */ 136 #define pkt_sk(ptr) container_of_const(ptr, struct packet_sock, sk) 148 static inline void packet_sock_flag_set(struct packet_sock *po, in packet_sock_flag_set() 158 static inline bool packet_sock_flag(const struct packet_sock *po, in packet_sock_flag()
|
H A D | af_packet.c | 190 struct packet_sock; 194 static void *packet_previous_frame(struct packet_sock *po, 200 struct packet_sock *); 202 struct packet_sock *, unsigned int status); 243 static void __fanout_unlink(struct sock *sk, struct packet_sock *po); 244 static void __fanout_link(struct sock *sk, struct packet_sock *po); 273 static int packet_xmit(const struct packet_sock *po, struct sk_buff *skb) in packet_xmit() 288 static struct net_device *packet_cached_dev_get(struct packet_sock *po) in packet_cached_dev_get() 300 static void packet_cached_dev_assign(struct packet_sock *po, in packet_cached_dev_assign() 306 static void packet_cached_dev_reset(struct packet_sock *p [all...] |
H A D | diag.c | 13 static int pdiag_put_info(const struct packet_sock *po, struct sk_buff *nlskb) in pdiag_put_info() 38 static int pdiag_put_mclist(const struct packet_sock *po, struct sk_buff *nlskb) in pdiag_put_mclist() 98 static int pdiag_put_rings_cfg(struct packet_sock *po, struct sk_buff *skb) in pdiag_put_rings_cfg() 113 static int pdiag_put_fanout(struct packet_sock *po, struct sk_buff *nlskb) in pdiag_put_fanout() 137 struct packet_sock *po = pkt_sk(sk); in sk_diag_fill()
|
Completed in 13 milliseconds