| /xnu-12377.61.12/bsd/skywalk/nexus/netif/ |
| H A D | nx_netif.h | 168 struct nx_netif *nll_nif; /* backpointer to parent netif instance */ 266 struct nx_netif { struct 341 #define NX_NETIF_PRIVATE(_nx) ((struct nx_netif *)(_nx)->nx_arg) argument 478 struct nx_netif *nifna_netif; 505 extern struct nx_netif *nx_netif_alloc(zalloc_flags_t); 506 extern void nx_netif_free(struct nx_netif *); 507 extern void nx_netif_retain(struct nx_netif *); 508 extern void nx_netif_release(struct nx_netif *); 556 extern void nx_netif_agent_init(struct nx_netif *); 557 extern void nx_netif_agent_fini(struct nx_netif *); [all …]
|
| H A D | nx_netif_flow.c | 352 nx_netif_flow_deliver(struct nx_netif *nif, struct netif_flow *f, in nx_netif_flow_deliver() 360 nx_netif_snoop(struct nx_netif *nif, struct __kern_packet *pkt, in nx_netif_snoop() 384 nx_netif_validate_macaddr(struct nx_netif *nif, struct __kern_packet *pkt, in nx_netif_validate_macaddr() 401 DTRACE_SKYWALK2(bad__pkt__sz, struct nx_netif *, nif, in nx_netif_validate_macaddr() 405 DTRACE_SKYWALK4(dump__buf, struct nx_netif *, nif, in nx_netif_validate_macaddr() 417 struct nx_netif *, nif, struct __kern_packet *, pkt, in nx_netif_validate_macaddr() 424 struct nx_netif *, nif, struct __kern_packet *, pkt, in nx_netif_validate_macaddr() 433 struct nx_netif *, nif, in nx_netif_validate_macaddr() 440 struct nx_netif *, nif, in nx_netif_validate_macaddr() 449 DTRACE_SKYWALK2(bad__addr__len, struct nx_netif *, nif, in nx_netif_validate_macaddr() [all …]
|
| H A D | nx_netif_netagent.c | 47 get_mac_addr(struct nx_netif *nif, struct ether_addr *addr) in get_mac_addr() 209 nx_netif_netagent_fill_port_info(struct nx_netif *nif, struct nx_flow_req *nfr, in nx_netif_netagent_fill_port_info() 265 nx_netif_netagent_flow_bind(struct nx_netif *nif, struct nx_flow_req *nfr) in nx_netif_netagent_flow_bind() 333 nx_netif_netagent_flow_unbind(struct nx_netif *nif, struct nx_flow_req *nfr) in nx_netif_netagent_flow_unbind() 351 nx_netif_netagent_check_flags(struct nx_netif *nif, struct nx_flow_req *nfr, in nx_netif_netagent_check_flags() 403 nx_netif_netagent_listener_flow_add(struct nx_netif *nif, in nx_netif_netagent_listener_flow_add() 431 nx_netif_netagent_flow_find(struct nx_netif *nif, in nx_netif_netagent_flow_find() 447 DTRACE_SKYWALK2(dupflow__not__found, struct nx_netif *, nif, in nx_netif_netagent_flow_find() 477 nx_netif_netagent_flow_add(struct nx_netif *nif, struct nx_flow_req *nfr) in nx_netif_netagent_flow_add() 486 DTRACE_SKYWALK3(invalid__flags, struct nx_netif *, nif, in nx_netif_netagent_flow_add() [all …]
|
| H A D | nx_netif_filter.c | 83 struct nx_netif *nif = nifna->nifna_netif; in nx_netif_filter_inject() 177 nx_netif_filter_add(struct nx_netif *nif, nexus_port_t port, void *cb_arg, in nx_netif_filter_add() 221 nx_netif_filter_flushq(struct nx_netif *nif) in nx_netif_filter_flushq() 243 DTRACE_SKYWALK2(filter__flush, struct nx_netif *, nif, in nx_netif_filter_flushq() 250 nx_netif_filter_remove(struct nx_netif *nif, struct netif_filter *nf) in nx_netif_filter_remove() 280 nx_netif_filter_initq(struct nx_netif *nif) in nx_netif_filter_initq() 300 nx_netif_filter_init(struct nx_netif *nif) in nx_netif_filter_init() 332 nx_netif_filter_finiq(struct nx_netif *nif) in nx_netif_filter_finiq() 348 nx_netif_filter_fini(struct nx_netif *nif) in nx_netif_filter_fini() 378 nx_netif_filter_set_enable(struct nx_netif *nif, boolean_t set) in nx_netif_filter_set_enable() [all …]
|
| H A D | nx_netif_llink.c | 59 static void nx_netif_llink_initialize(struct netif_llink *, struct nx_netif *, 64 static struct netif_llink *nx_netif_llink_create_locked(struct nx_netif *, 66 static void nx_netif_default_llink_add(struct nx_netif *); 301 nx_netif_generate_internal_llink_id(struct nx_netif *nif) in nx_netif_generate_internal_llink_id() 324 nx_netif_llink_initialize(struct netif_llink *llink, struct nx_netif *nif, in nx_netif_llink_initialize() 409 nx_netif_llink_create_locked(struct nx_netif *nif, in nx_netif_llink_create_locked() 431 nx_netif_llink_destroy_locked(struct nx_netif *nif, struct netif_llink **pllink) in nx_netif_llink_destroy_locked() 444 nx_netif_llink_add(struct nx_netif *nif, in nx_netif_llink_add() 486 nx_netif_llink_remove(struct nx_netif *nif, in nx_netif_llink_remove() 517 nx_netif_default_llink_add(struct nx_netif *nif) in nx_netif_default_llink_add() [all …]
|
| H A D | nx_netif_filter_compat.c | 37 struct nx_netif *nif = nifna->nifna_netif; in nx_netif_filter_tx_mbuf_enqueue() 45 DTRACE_SKYWALK2(mbuf__default__drop, struct nx_netif *, nif, in nx_netif_filter_tx_mbuf_enqueue() 81 struct nx_netif *nif = nifna->nifna_netif; in nx_netif_filter_tx_processed_mbuf_dequeue() 123 struct nx_netif *nif = nifna->nifna_netif; in nx_netif_filter_tx_processed_mbuf_enqueue() 163 struct nx_netif *nif = nifna->nifna_netif; in nx_netif_tx_processed_mbuf_get_len() 255 struct nx_netif *nif = nifna->nifna_netif; in nx_netif_compat_tx_dequeue() 296 struct nx_netif *nif = nifna->nifna_netif; in nx_netif_compat_tx_get_len()
|
| H A D | nx_netif_filter_native.c | 37 struct nx_netif *nif = nifna->nifna_netif; in nx_netif_filter_tx_pkt_enqueue() 44 DTRACE_SKYWALK2(pkt__default__drop, struct nx_netif *, nif, in nx_netif_filter_tx_pkt_enqueue() 80 struct nx_netif *nif = nifna->nifna_netif; in nx_netif_filter_tx_processed_pkt_dequeue() 123 struct nx_netif *nif = nifna->nifna_netif; in nx_netif_filter_tx_processed_pkt_enqueue() 165 struct nx_netif *nif = nifna->nifna_netif; in nx_netif_tx_processed_pkt_get_len() 257 struct nx_netif *nif = nifna->nifna_netif; in nx_netif_native_tx_dequeue() 298 struct nx_netif *nif = nifna->nifna_netif; in nx_netif_native_tx_get_len()
|
| H A D | nx_netif.c | 153 static void nx_netif_flags_init(struct nx_netif *); 154 static void nx_netif_flags_fini(struct nx_netif *); 155 static void nx_netif_callbacks_init(struct nx_netif *); 156 static void nx_netif_callbacks_fini(struct nx_netif *); 157 static void nx_netif_capabilities_fini(struct nx_netif *); 323 static SKMEM_TYPE_DEFINE(nx_netif_zone, struct nx_netif); 635 struct nx_netif *nif; in nx_netif_get_llink_info() 827 struct nx_netif *n; in nx_netif_prov_nx_ctor() 859 struct nx_netif *n = NX_NETIF_PRIVATE(nx); in nx_netif_prov_nx_dtor() 909 struct nx_netif *nif = NX_NETIF_PRIVATE(nx); in __netif_mib_get_stats() [all …]
|
| H A D | nx_netif_vp.c | 143 struct nx_netif *nif = nifna->nifna_netif; in netif_deliver_pkt() 294 netif_change_pending(struct nx_netif *nif) in netif_change_pending() 298 DTRACE_SKYWALK1(change__pending__wait, struct nx_netif *, nif); in netif_change_pending() 301 DTRACE_SKYWALK1(change__pending__wake, struct nx_netif *, nif); in netif_change_pending() 307 netif_change_done(struct nx_netif *nif) in netif_change_done() 316 netif_hwna_setup(struct nx_netif *nif) in netif_hwna_setup() 365 netif_hwna_teardown(struct nx_netif *nif) in netif_hwna_teardown() 402 struct nx_netif *nif; in netif_vp_na_activate_on() 444 struct nx_netif *nif; in netif_vp_na_activate_off() 492 struct nx_netif *nif; in netif_vp_send_pkt_chain_low_latency() [all …]
|
| H A D | nx_netif_host.c | 50 struct nx_netif *nif = ((struct nexus_netif_adapter *)na)->nifna_netif; in nx_netif_host_is_gso_needed() 83 struct nx_netif *nif = ((struct nexus_netif_adapter *)na)->nifna_netif; in nx_netif_host_adjust_if_capabilities() 437 struct nx_netif *nif = NA(ifp)->nifna_netif; in nx_netif_host_output() 695 struct nx_netif *nif = nifna->nifna_netif; in nx_netif_mbuf_to_kpkt()
|
| H A D | nx_netif_util.c | 132 struct nx_netif *nif = nifna->nifna_netif; in nx_netif_mbuf_to_filter_pkt() 310 struct nx_netif *nif = nifna->nifna_netif; in nx_netif_pkt_to_filter_pkt() 507 struct nx_netif *nif = nifna->nifna_netif; in nx_netif_pkt_to_mbuf() 555 struct nx_netif *nif = nifna->nifna_netif; in nx_netif_pkt_to_pkt()
|
| H A D | nx_netif_filter_vp.c | 311 struct nx_netif *__single nif = nx->nx_arg; in netif_filter_na_mem_new() 486 struct nx_netif *nif = NX_NETIF_PRIVATE(nx); in netif_filter_na_dtor() 519 struct nx_netif *nif = NX_NETIF_PRIVATE(nx); in netif_filter_na_create()
|
| H A D | nx_netif_gso.c | 151 struct nx_netif *nif = NA(ifp)->nifna_netif; in netif_gso_check_netif_active() 190 struct nx_netif *nif = NA(ifp)->nifna_netif; in netif_gso_send()
|
| H A D | nx_netif_compat.c | 395 struct nx_netif *nif = nifna->nifna_netif; in nx_netif_compat_na_activate() 1280 struct nx_netif *nif = nifna->nifna_netif; in nx_netif_compat_na_rxsync() 1562 struct nx_netif *nif = NX_NETIF_PRIVATE(nx); in nx_netif_compat_attach() 1881 struct nx_netif *nif = nifna->nifna_netif; in nx_netif_compat_xmit_frame()
|
| H A D | nx_netif_mit.c | 155 nx_netif_mit_init(struct nx_netif *nif, const struct ifnet *ifp, in nx_netif_mit_init()
|
| /xnu-12377.61.12/bsd/skywalk/channel/ |
| H A D | kern_channel_event.c | 46 struct nx_netif *dest_netif; 56 struct nx_netif *netif; in __notif_dest_by_ifp()
|
| /xnu-12377.61.12/bsd/net/ |
| H A D | if_redirect.c | 287 redirect_enqueue_pkt(struct nx_netif *nif, struct __kern_packet *pkt, in redirect_enqueue_pkt() 317 redirect_enqueue_mbuf(struct nx_netif *nif, struct mbuf *m, in redirect_enqueue_mbuf() 327 struct nx_netif *nif; in redirect_tx_submit() 938 struct nx_netif *delegate_nif; in redirect_delegate_adv_config()
|
| H A D | dlil.c | 979 if_nexus_netif *nx_netif = &ifp->if_nx_netif; in dlil_quiesce_and_detach_nexuses() local 992 if (!uuid_is_null(nx_netif->if_nif_attach)) { in dlil_quiesce_and_detach_nexuses() 993 ASSERT(!uuid_is_null(nx_netif->if_nif_provider)); in dlil_quiesce_and_detach_nexuses() 994 ASSERT(!uuid_is_null(nx_netif->if_nif_instance)); in dlil_quiesce_and_detach_nexuses() 995 dlil_detach_netif_nexus(nx_netif); in dlil_quiesce_and_detach_nexuses() 997 ASSERT(uuid_is_null(nx_netif->if_nif_provider)); in dlil_quiesce_and_detach_nexuses() 998 ASSERT(uuid_is_null(nx_netif->if_nif_instance)); in dlil_quiesce_and_detach_nexuses()
|
| /xnu-12377.61.12/bsd/skywalk/nexus/flowswitch/flow/ |
| H A D | flow_entry.c | 366 struct nx_netif *nif; in flow_qset_select_dynamic() 439 struct nx_netif *nif; in flow_entry_alloc()
|
| /xnu-12377.61.12/bsd/skywalk/nexus/ |
| H A D | nexus_traffic_rule_eth.c | 496 struct nx_netif *nif; in eth_traffic_rule_notify()
|
| H A D | nexus_traffic_rule_inet.c | 754 struct nx_netif *nif; in inet_traffic_rule_notify()
|
| /xnu-12377.61.12/bsd/conf/ |
| H A D | files | 603 bsd/skywalk/nexus/netif/nx_netif.c optional config_nexus_netif bound-checks
|
| /xnu-12377.61.12/bsd/skywalk/nexus/flowswitch/ |
| H A D | fsw.c | 335 struct nx_netif *nif = NA(ifp)->nifna_netif; in fsw_tso_setup()
|