Searched refs:packet_filter (Results 1 – 14 of 14) sorted by relevance
/linux/net/ipv4/netfilter/ |
A D | arptable_filter.c | 21 static const struct xt_table packet_filter = { variable 36 repl = arpt_alloc_initial_table(&packet_filter); in arptable_filter_table_init() 39 err = arpt_register_table(net, &packet_filter, repl, arpfilter_ops); in arptable_filter_table_init() 61 int ret = xt_register_template(&packet_filter, in arptable_filter_init() 67 arpfilter_ops = xt_hook_ops_alloc(&packet_filter, arpt_do_table); in arptable_filter_init() 69 xt_unregister_template(&packet_filter); in arptable_filter_init() 75 xt_unregister_template(&packet_filter); in arptable_filter_init() 86 xt_unregister_template(&packet_filter); in arptable_filter_fini()
|
A D | iptable_filter.c | 23 static const struct xt_table packet_filter = { variable 42 repl = ipt_alloc_initial_table(&packet_filter); in iptable_filter_table_init() 49 err = ipt_register_table(net, &packet_filter, repl, filter_ops); in iptable_filter_table_init() 80 int ret = xt_register_template(&packet_filter, in iptable_filter_init() 86 filter_ops = xt_hook_ops_alloc(&packet_filter, ipt_do_table); in iptable_filter_init() 88 xt_unregister_template(&packet_filter); in iptable_filter_init() 94 xt_unregister_template(&packet_filter); in iptable_filter_init() 105 xt_unregister_template(&packet_filter); in iptable_filter_fini()
|
/linux/net/ipv6/netfilter/ |
A D | ip6table_filter.c | 22 static const struct xt_table packet_filter = { variable 41 repl = ip6t_alloc_initial_table(&packet_filter); in ip6table_filter_table_init() 48 err = ip6t_register_table(net, &packet_filter, repl, filter_ops); in ip6table_filter_table_init() 79 int ret = xt_register_template(&packet_filter, in ip6table_filter_init() 85 filter_ops = xt_hook_ops_alloc(&packet_filter, ip6t_do_table); in ip6table_filter_init() 87 xt_unregister_template(&packet_filter); in ip6table_filter_init() 93 xt_unregister_template(&packet_filter); in ip6table_filter_init() 104 xt_unregister_template(&packet_filter); in ip6table_filter_fini()
|
/linux/drivers/net/ethernet/agere/ |
A D | et131x.c | 464 u32 packet_filter; member 1071 if (adapter->packet_filter & ET131X_PACKET_TYPE_DIRECTED) { in et1310_config_rxmac_regs() 2321 if (!adapter->packet_filter || in et131x_handle_recv_pkts() 3649 int filter = adapter->packet_filter; in et131x_set_packet_filter() 3705 int packet_filter; in et131x_multicast() local 3713 packet_filter = adapter->packet_filter; in et131x_multicast() 3720 packet_filter &= ~ET131X_PACKET_TYPE_MULTICAST; in et131x_multicast() 3726 adapter->packet_filter |= ET131X_PACKET_TYPE_PROMISCUOUS; in et131x_multicast() 3736 adapter->packet_filter &= ~ET131X_PACKET_TYPE_MULTICAST; in et131x_multicast() 3738 adapter->packet_filter |= ET131X_PACKET_TYPE_MULTICAST; in et131x_multicast() [all …]
|
/linux/drivers/net/ethernet/aquantia/atlantic/hw_atl/ |
A D | hw_atl_b0.h | 73 unsigned int packet_filter);
|
A D | hw_atl_a0.c | 752 #define IS_FILTER_ENABLED(_F_) ((packet_filter & (_F_)) ? 1U : 0U) 755 unsigned int packet_filter) in hw_atl_a0_hw_packet_filter_set() argument
|
A D | hw_atl_b0.c | 1023 #define IS_FILTER_ENABLED(_F_) ((packet_filter & (_F_)) ? 1U : 0U) 1026 unsigned int packet_filter) in hw_atl_b0_hw_packet_filter_set() argument
|
/linux/drivers/net/ethernet/aquantia/atlantic/ |
A D | aq_nic.c | 485 self->packet_filter); in aq_nic_start() 786 self->packet_filter = flags; in aq_nic_set_packet_filter() 796 unsigned int packet_filter = ndev->flags; in aq_nic_set_multicast_list() local 803 packet_filter |= IFF_PROMISC; in aq_nic_set_multicast_list() 810 cfg->is_mc_list_enabled = !!(packet_filter & IFF_MULTICAST); in aq_nic_set_multicast_list() 813 packet_filter |= IFF_ALLMULTI; in aq_nic_set_multicast_list() 831 return aq_nic_set_packet_filter(self, packet_filter); in aq_nic_set_multicast_list()
|
A D | aq_nic.h | 133 unsigned int packet_filter; member
|
A D | aq_hw.h | 263 unsigned int packet_filter);
|
A D | aq_filters.c | 857 !(aq_nic->packet_filter & IFF_PROMISC)); in aq_filters_vlans_update()
|
/linux/drivers/net/ethernet/aquantia/atlantic/hw_atl2/ |
A D | hw_atl2.c | 613 #define IS_FILTER_ENABLED(_F_) ((packet_filter & (_F_)) ? 1U : 0U) 616 unsigned int packet_filter) in hw_atl2_hw_packet_filter_set() argument 620 return hw_atl_b0_hw_packet_filter_set(self, packet_filter); in hw_atl2_hw_packet_filter_set()
|
/linux/drivers/net/wireless/ralink/rt2x00/ |
A D | rt2x00mac.c | 265 rt2x00dev->packet_filter = 0; in rt2x00mac_add_interface() 398 rt2x00dev->packet_filter = *total_flags; in rt2x00mac_configure_filter()
|
A D | rt2x00.h | 853 unsigned int packet_filter; member
|
Completed in 52 milliseconds