| H A D | af_packet.c | 196 static void *packet_previous_frame(struct packet_sock *po, 244 static void __fanout_unlink(struct sock *sk, struct packet_sock *po); 245 static void __fanout_link(struct sock *sk, struct packet_sock *po); 274 static int packet_xmit(const struct packet_sock *po, struct sk_buff *skb) in packet_xmit() argument 276 if (!packet_sock_flag(po, PACKET_SOCK_QDISC_BYPASS)) in packet_xmit() 289 static struct net_device *packet_cached_dev_get(struct packet_sock *po) in packet_cached_dev_get() argument 294 dev = rcu_dereference(po->cached_dev); in packet_cached_dev_get() 301 static void packet_cached_dev_assign(struct packet_sock *po, in packet_cached_dev_assign() argument 304 rcu_assign_pointer(po->cached_dev, dev); in packet_cached_dev_assign() 307 static void packet_cached_dev_reset(struct packet_sock *po) in packet_cached_dev_reset() argument 339 struct packet_sock *po = pkt_sk(sk); __register_prot_hook() local 366 struct packet_sock *po = pkt_sk(sk); __unregister_prot_hook() local 388 struct packet_sock *po = pkt_sk(sk); unregister_prot_hook() local 401 __packet_set_status(struct packet_sock * po,void * frame,int status) __packet_set_status() argument 429 __packet_get_status(const struct packet_sock * po,void * frame) __packet_get_status() argument 472 __packet_set_timestamp(struct packet_sock * po,void * frame,struct sk_buff * skb) __packet_set_timestamp() argument 515 packet_lookup_frame(const struct packet_sock * po,const struct packet_ring_buffer * rb,unsigned int position,int status) packet_lookup_frame() argument 535 packet_current_frame(struct packet_sock * po,struct packet_ring_buffer * rb,int status) packet_current_frame() argument 584 prb_shutdown_retire_blk_timer(struct packet_sock * po,struct sk_buff_head * rb_queue) prb_shutdown_retire_blk_timer() argument 593 prb_calc_retire_blk_tmo(struct packet_sock * po,int blk_size_in_bytes) prb_calc_retire_blk_tmo() argument 636 init_prb_bdqc(struct packet_sock * po,struct packet_ring_buffer * rb,struct pgv * pg_vec,union tpacket_req_u * req_u) init_prb_bdqc() argument 685 struct packet_sock *po = prb_retire_rx_blk_timer_expired() local 783 prb_close_block(struct tpacket_kbdq_core * pkc1,struct tpacket_block_desc * pbd1,struct packet_sock * po,unsigned int stat) prb_close_block() argument 902 prb_freeze_queue(struct tpacket_kbdq_core * pkc,struct packet_sock * po) prb_freeze_queue() argument 917 prb_dispatch_next_block(struct tpacket_kbdq_core * pkc,struct packet_sock * po) prb_dispatch_next_block() argument 942 prb_retire_current_block(struct tpacket_kbdq_core * pkc,struct packet_sock * po,unsigned int status) prb_retire_current_block() argument 1000 struct packet_sock *po = container_of(pkc, struct packet_sock, rx_ring.prb_bdqc); prb_fill_vlan_info() local 1048 __packet_lookup_frame_in_block(struct packet_sock * po,struct sk_buff * skb,unsigned int len) __packet_lookup_frame_in_block() argument 1109 packet_current_rx_frame(struct packet_sock * po,struct sk_buff * skb,int status,unsigned int len) packet_current_rx_frame() argument 1129 prb_lookup_block(const struct packet_sock * po,const struct packet_ring_buffer * rb,unsigned int idx,int status) prb_lookup_block() argument 1153 __prb_previous_block(struct packet_sock * po,struct packet_ring_buffer * rb,int status) __prb_previous_block() argument 1161 packet_previous_rx_frame(struct packet_sock * po,struct packet_ring_buffer * rb,int status) packet_previous_rx_frame() argument 1171 packet_increment_rx_head(struct packet_sock * po,struct packet_ring_buffer * rb) packet_increment_rx_head() argument 1186 packet_previous_frame(struct packet_sock * po,struct packet_ring_buffer * rb,int status) packet_previous_frame() argument 1224 packet_alloc_pending(struct packet_sock * po) packet_alloc_pending() argument 1235 packet_free_pending(struct packet_sock * po) packet_free_pending() argument 1245 __tpacket_has_room(const struct packet_sock * po,int pow_off) __tpacket_has_room() argument 1258 __tpacket_v3_has_room(const struct packet_sock * po,int pow_off) __tpacket_v3_has_room() argument 1271 __packet_rcv_has_room(const struct packet_sock * po,const struct sk_buff * skb) __packet_rcv_has_room() argument 1305 packet_rcv_has_room(struct packet_sock * po,struct sk_buff * skb) packet_rcv_has_room() argument 1319 __packet_rcv_try_clear_pressure(struct packet_sock * po) __packet_rcv_try_clear_pressure() argument 1326 packet_rcv_try_clear_pressure(struct packet_sock * po) packet_rcv_try_clear_pressure() argument 1353 fanout_flow_is_huge(struct packet_sock * po,struct sk_buff * skb) fanout_flow_is_huge() argument 1408 struct packet_sock *po, *po_next, *po_skip = NULL; fanout_demux_rollover() local 1477 struct packet_sock *po; packet_rcv_fanout() local 1528 __fanout_link(struct sock * sk,struct packet_sock * po) __fanout_link() argument 1541 __fanout_unlink(struct sock * sk,struct packet_sock * po) __fanout_unlink() argument 1598 fanout_set_data_cbpf(struct packet_sock * po,sockptr_t data,unsigned int len) fanout_set_data_cbpf() argument 1620 fanout_set_data_ebpf(struct packet_sock * po,sockptr_t data,unsigned int len) fanout_set_data_ebpf() argument 1641 fanout_set_data(struct packet_sock * po,sockptr_t data,unsigned int len) fanout_set_data() argument 1696 struct packet_sock *po = pkt_sk(sk); fanout_add() local 1836 struct packet_sock *po = pkt_sk(sk); fanout_release() local 2142 struct packet_sock *po; packet_rcv() local 2254 struct packet_sock *po; tpacket_rcv() local 2574 struct packet_sock *po; global() member 2582 struct packet_sock *po = tu->po; tpacket_ubuf_complete() local 2605 tpacket_fill_skb(struct packet_sock * po,struct sk_buff * skb,struct net_device * dev,void * data,int tp_len,__be16 proto,unsigned char * addr,int hlen,int copylen,int hard_header_len,const struct sockcm_cookie * sockc) tpacket_fill_skb() argument 2685 tpacket_parse_header(struct packet_sock * po,void * frame,int size_max,void ** data) tpacket_parse_header() argument 2754 tpacket_snd(struct packet_sock * po,struct msghdr * msg) tpacket_snd() argument 3014 struct packet_sock *po = pkt_sk(sk); packet_snd() local 3164 struct packet_sock *po = pkt_sk(sk); packet_sendmsg() local 3183 struct packet_sock *po; packet_release() local 3255 struct packet_sock *po = pkt_sk(sk); packet_do_bind() local 3399 struct packet_sock *po; packet_create() local 3663 struct packet_sock *po = pkt_sk(sk); packet_getname() local 3742 struct packet_sock *po = pkt_sk(sk); packet_mc_add() local 3824 struct packet_sock *po = pkt_sk(sk); packet_flush_mclist() local 3848 struct packet_sock *po = pkt_sk(sk); packet_setsockopt() local 4122 struct packet_sock *po = pkt_sk(sk); packet_getsockopt() local 4253 struct packet_sock *po = pkt_sk(sk); packet_notifier() local 4355 struct packet_sock *po = pkt_sk(sk); packet_poll() local 4545 struct packet_sock *po = pkt_sk(sk); packet_set_ring() local 4723 struct packet_sock *po = pkt_sk(sk); packet_mmap() local 4862 const struct packet_sock *po = pkt_sk(s); packet_seq_show() local [all...] |