Lines Matching refs:switch_port_t
153 } switch_port, *switch_port_t; typedef
1471 switch_port_check_tx(switch_port_t port) in switch_port_check_tx()
1496 switch_port_send_arp(switch_port_t port, in switch_port_send_arp()
1536 switch_port_send_nd6(switch_port_t port, in switch_port_send_nd6()
1578 switch_port_send_udp(switch_port_t port, in switch_port_send_udp()
1629 switch_port_send_udp_addr_index(switch_port_t port, in switch_port_send_udp_addr_index()
1649 (packet_validator)(switch_port_t port, const ether_header_t * eh_p,
1654 switch_port_receive(switch_port_t port, in switch_port_receive()
1729 switch_port_log(switch_port_t port) in switch_port_log()
1757 switch_port_t port; in switch_port_list_dealloc()
1777 switch_port_t p; in switch_port_list_add_port()
1834 static switch_port_t
1838 switch_port_t port; in switch_port_list_find_fd()
1852 switch_port_t port; in switch_port_list_log()
1860 static switch_port_t
1864 switch_port_t port; in switch_port_list_find_member()
1884 switch_port_t port; in switch_port_list_check_receive()
1928 switch_port_t port; in switch_port_list_verify_rt_table()
1992 switch_port_t port; in switch_port_list_verify_mac_nat()
2078 send_generation(switch_port_t port, uint8_t af, u_int addr_index, in send_generation()
2102 validate_source_ether_mismatch(switch_port_t port, const ether_header_t * eh_p) in validate_source_ether_mismatch()
2111 validate_not_present_dhost(switch_port_t port, const ether_header_t * eh_p, in validate_not_present_dhost()
2124 validate_broadcast_dhost(switch_port_t port, const ether_header_t * eh_p, in validate_broadcast_dhost()
2136 validate_port_dhost(switch_port_t port, const ether_header_t * eh_p, in validate_port_dhost()
2151 switch_port_t port, uint32_t expected_packets) in check_received_count()
2154 switch_port_t scan; in check_received_count()
2175 unicast_send_all(switch_port_list_t port_list, uint8_t af, switch_port_t port) in unicast_send_all()
2178 switch_port_t scan; in unicast_send_all()
2207 switch_port_t port; in bridge_learning_test_once()
2270 switch_port_t port; in bridge_learning_test()
2337 mac_nat_check_received_count(switch_port_list_t port_list, switch_port_t port) in mac_nat_check_received_count()
2340 switch_port_t scan; in mac_nat_check_received_count()
2358 validate_mac_nat(switch_port_t port, const ether_header_t * eh_p, in validate_mac_nat()
2380 validate_mac_nat_in(switch_port_t port, const ether_header_t * eh_p, in validate_mac_nat_in()
2395 validate_mac_nat_arp_out(switch_port_t port, const ether_header_t * eh_p, in validate_mac_nat_arp_out()
2399 switch_port_t send_port = (switch_port_t)context; in validate_mac_nat_arp_out()
2453 validate_mac_nat_arp_in(switch_port_t port, const ether_header_t * eh_p, in validate_mac_nat_arp_in()
2457 switch_port_t send_port = (switch_port_t)context; in validate_mac_nat_arp_in()
2493 switch_port_t port; in mac_nat_test_arp_out()
2523 mac_nat_send_arp_response(switch_port_t ext_port, switch_port_t port) in mac_nat_send_arp_response()
2553 switch_port_t port; in mac_nat_test_arp_in()
2574 validate_mac_nat_dhcp(switch_port_t port, const ether_header_t * eh_p, in validate_mac_nat_dhcp()
2579 switch_port_t send_port = (switch_port_t)context; in validate_mac_nat_dhcp()
2651 switch_port_t port; in mac_nat_test_dhcp()
2703 validate_mac_nat_nd6(switch_port_t port, in validate_mac_nat_nd6()
2708 switch_port_t send_port) in validate_mac_nat_nd6()
2748 validate_mac_nat_icmp6_out(switch_port_t port, const struct icmp6_hdr * icmp6, in validate_mac_nat_icmp6_out()
2749 u_int icmp6_len, switch_port_t send_port) in validate_mac_nat_icmp6_out()
2777 validate_mac_nat_nd6_out(switch_port_t port, const ether_header_t * eh_p, in validate_mac_nat_nd6_out()
2782 switch_port_t send_port = (switch_port_t)context; in validate_mac_nat_nd6_out()
2831 switch_port_t ext_port; in mac_nat_test_nd6_out()
2834 switch_port_t port; in mac_nat_test_nd6_out()
2911 mac_nat_send_response(switch_port_t ext_port, uint8_t af, switch_port_t port) in mac_nat_send_response()
2944 switch_port_t port; in mac_nat_test_ip_once()
2997 switch_port_t port; in mac_nat_test_ip()
3976 switch_port_t port; in filter_test()
4140 switch_port_t server_port; in test_traffic_for_af()
4141 switch_port_t port; in test_traffic_for_af()