Searched refs:packet_sock (Results 1 – 3 of 3) sorted by relevance
/linux/net/packet/ |
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 *po) in packet_cached_dev_reset() [all …]
|
H A D | internal.h | 109 struct packet_sock { struct 136 #define pkt_sk(ptr) container_of_const(ptr, struct packet_sock, sk) argument 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 | 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()
|