Home
last modified time | relevance | path

Searched refs:packet_sock (Results 1 – 3 of 3) sorted by relevance

/net/packet/
Dinternal.h108 struct packet_sock { struct
140 static struct packet_sock *pkt_sk(struct sock *sk) in pkt_sk() argument
142 return (struct packet_sock *)sk; in pkt_sk()
150 static inline void packet_sock_flag_set(struct packet_sock *po, in packet_sock_flag_set()
160 static inline bool packet_sock_flag(const struct packet_sock *po, in packet_sock_flag()
Daf_packet.c182 struct packet_sock;
186 static void *packet_previous_frame(struct packet_sock *po,
192 struct packet_sock *);
194 struct packet_sock *, unsigned int status);
235 static void __fanout_unlink(struct sock *sk, struct packet_sock *po);
236 static void __fanout_link(struct sock *sk, struct packet_sock *po);
243 static struct net_device *packet_cached_dev_get(struct packet_sock *po) in packet_cached_dev_get()
256 static void packet_cached_dev_assign(struct packet_sock *po, in packet_cached_dev_assign()
262 static void packet_cached_dev_reset(struct packet_sock *po) in packet_cached_dev_reset()
267 static bool packet_use_direct_xmit(const struct packet_sock *po) in packet_use_direct_xmit()
[all …]
Ddiag.c13 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()