H A D | af_packet.c | 189 static int tpacket_snd(struct packet_sock *po, struct msghdr *msg); 193 static void *packet_previous_frame(struct packet_sock *po, 237 static void __fanout_unlink(struct sock *sk, struct packet_sock *po); 238 static void __fanout_link(struct sock *sk, struct packet_sock *po); 277 static struct net_device *packet_cached_dev_get(struct packet_sock *po) argument 282 dev = rcu_dereference(po->cached_dev); 290 static void packet_cached_dev_assign(struct packet_sock *po, argument 293 rcu_assign_pointer(po->cached_dev, dev); 296 static void packet_cached_dev_reset(struct packet_sock *po) argument 298 RCU_INIT_POINTER(po 301 packet_use_direct_xmit(const struct packet_sock *po) argument 333 struct packet_sock *po = pkt_sk(sk); local 355 struct packet_sock *po = pkt_sk(sk); local 375 struct packet_sock *po = pkt_sk(sk); local 388 __packet_set_status(struct packet_sock *po, void *frame, int status) argument 411 __packet_get_status(struct packet_sock *po, void *frame) argument 449 __packet_set_timestamp(struct packet_sock *po, void *frame, struct sk_buff *skb) argument 482 packet_lookup_frame(struct packet_sock *po, struct packet_ring_buffer *rb, unsigned int position, int status) argument 502 packet_current_frame(struct packet_sock *po, struct packet_ring_buffer *rb, int status) argument 514 prb_shutdown_retire_blk_timer(struct packet_sock *po, int tx_ring, struct sk_buff_head *rb_queue) argument 530 prb_init_blk_timer(struct packet_sock *po, struct tpacket_kbdq_core *pkc, void (*func) (unsigned long)) argument 540 prb_setup_retire_blk_timer(struct packet_sock *po, int tx_ring) argument 552 prb_calc_retire_blk_tmo(struct packet_sock *po, int blk_size_in_bytes) argument 601 init_prb_bdqc(struct packet_sock *po, struct packet_ring_buffer *rb, struct pgv *pg_vec, union tpacket_req_u *req_u, int tx_ring) argument 670 struct packet_sock *po = (struct packet_sock *)data; local 780 prb_close_block(struct tpacket_kbdq_core *pkc1, struct tpacket_block_desc *pbd1, struct packet_sock *po, unsigned int stat) argument 887 prb_freeze_queue(struct tpacket_kbdq_core *pkc, struct packet_sock *po) argument 902 prb_dispatch_next_block(struct tpacket_kbdq_core *pkc, struct packet_sock *po) argument 927 prb_retire_current_block(struct tpacket_kbdq_core *pkc, struct packet_sock *po, unsigned int status) argument 1027 __packet_lookup_frame_in_block(struct packet_sock *po, struct sk_buff *skb, int status, unsigned int len ) argument 1089 packet_current_rx_frame(struct packet_sock *po, struct sk_buff *skb, int status, unsigned int len) argument 1109 prb_lookup_block(struct packet_sock *po, struct packet_ring_buffer *rb, unsigned int idx, int status) argument 1133 __prb_previous_block(struct packet_sock *po, struct packet_ring_buffer *rb, int status) argument 1141 packet_previous_rx_frame(struct packet_sock *po, struct packet_ring_buffer *rb, int status) argument 1151 packet_increment_rx_head(struct packet_sock *po, struct packet_ring_buffer *rb) argument 1166 packet_previous_frame(struct packet_sock *po, struct packet_ring_buffer *rb, int status) argument 1204 packet_alloc_pending(struct packet_sock *po) argument 1215 packet_free_pending(struct packet_sock *po) argument 1220 packet_rcv_has_room(struct packet_sock *po, struct sk_buff *skb) argument 1340 struct packet_sock *po; local 1390 __fanout_link(struct sock *sk, struct packet_sock *po) argument 1401 __fanout_unlink(struct sock *sk, struct packet_sock *po) argument 1427 struct packet_sock *po = pkt_sk(sk); local 1506 struct packet_sock *po = pkt_sk(sk); local 1754 struct packet_sock *po; local 1865 struct packet_sock *po; local 2082 struct packet_sock *po = pkt_sk(skb->sk); local 2098 tpacket_fill_skb(struct packet_sock *po, struct sk_buff *skb, void *frame, struct net_device *dev, int size_max, __be16 proto, unsigned char *addr, int hlen) argument 2222 tpacket_snd(struct packet_sock *po, struct msghdr *msg) argument 2399 struct packet_sock *po = pkt_sk(sk); local 2580 struct packet_sock *po = pkt_sk(sk); local 2596 struct packet_sock *po; local 2661 struct packet_sock *po = pkt_sk(sk); local 2782 struct packet_sock *po; local 3037 struct packet_sock *po = pkt_sk(sk); local 3103 struct packet_sock *po = pkt_sk(sk); local 3184 struct packet_sock *po = pkt_sk(sk); local 3207 struct packet_sock *po = pkt_sk(sk); local 3417 struct packet_sock *po = pkt_sk(sk); local 3524 struct packet_sock *po = pkt_sk(sk); local 3623 struct packet_sock *po = pkt_sk(sk); local 3744 struct packet_sock *po = pkt_sk(sk); local 3895 struct packet_sock *po = pkt_sk(sk); local 4034 const struct packet_sock *po = pkt_sk(s); local [all...] |