/darwin-on-arm/xnu/bsd/net/ |
H A D | ether_if_module.h | 34 extern errno_t ether_attach_inet(ifnet_t ifp, protocol_family_t protocol_family); 35 extern void ether_detach_inet(ifnet_t ifp, protocol_family_t protocol_family); 36 extern errno_t ether_attach_inet6(ifnet_t ifp, protocol_family_t protocol_family); 37 extern void ether_detach_inet6(ifnet_t ifp, protocol_family_t protocol_family); 38 extern errno_t ether_attach_at(struct ifnet *ifp, protocol_family_t proto_family); 39 extern void ether_detach_at(struct ifnet *ifp, protocol_family_t proto_family);
|
H A D | if_mib.c | 112 make_ifmibdata(struct ifnet *ifp, int *name, struct sysctl_req *req) argument 127 if (ifnet_is_attached(ifp, 0)) { 129 ifp->if_name, ifp->if_unit); 131 #define COPY(fld) ifmd.ifmd_##fld = ifp->if_##fld 134 if_data_internal_to_if_data64(ifp, &ifp->if_data, &ifmd.ifmd_data); 136 ifmd.ifmd_snd_len = IFCQ_LEN(&ifp->if_snd); 137 ifmd.ifmd_snd_maxlen = IFCQ_MAXLEN(&ifp->if_snd); 138 ifmd.ifmd_snd_drops = ifp 208 struct ifnet *ifp; variable in typeref:struct:ifnet 219 ifnet_reference(ifp); variable 222 ifnet_lock_shared(ifp); variable 224 ifnet_lock_done(ifp); variable 226 ifnet_release(ifp); variable 238 struct ifnet *ifp; variable in typeref:struct:ifnet 245 ifnet_lock_shared(ifp); variable 249 ifnet_lock_done(ifp); variable [all...] |
H A D | dlil.c | 149 struct ifnet *ifp; member in struct:if_proto 324 static int dlil_event_internal(struct ifnet *ifp, struct kev_msg *msg); 551 #define DLIL_INPUT_CHECK(m, ifp) { \ 553 if (_rcvif == NULL || (ifp != lo_ifp && _rcvif != ifp) || \ 620 find_attached_proto(struct ifnet *ifp, u_int32_t protocol_family) argument 625 ifnet_lock_assert(ifp, IFNET_LCK_ASSERT_OWNED); 627 if (ifp->if_proto_hash != NULL) 628 proto = SLIST_FIRST(&ifp->if_proto_hash[i]); 645 extern void if_rtproto_del(struct ifnet *ifp, in 651 struct ifnet *ifp = proto->ifp; local 694 ifnet_lock_assert(struct ifnet *ifp, ifnet_lock_assert_t what) argument 726 ifnet_lock_shared(struct ifnet *ifp) argument 732 ifnet_lock_exclusive(struct ifnet *ifp) argument 738 ifnet_lock_done(struct ifnet *ifp) argument 765 dlil_ifp_proto_count(struct ifnet * ifp) argument 785 dlil_post_msg(struct ifnet *ifp, u_int32_t event_subclass, u_int32_t event_code, struct net_event_data *event_data, u_int32_t event_data_len) argument 821 dlil_alloc_local_stats(struct ifnet *ifp) argument 900 dlil_create_input_thread(ifnet_t ifp, struct dlil_threading_info *inp) argument 996 struct ifnet *ifp; local 1266 if_flt_monitor_busy(struct ifnet *ifp) argument 1275 if_flt_monitor_unbusy(struct ifnet *ifp) argument 1281 if_flt_monitor_enter(struct ifnet *ifp) argument 1294 if_flt_monitor_leave(struct ifnet *ifp) argument 1308 dlil_attach_filter(struct ifnet *ifp, const struct iff_filter *if_filter, interface_filter_t *filter_ref) argument 1380 ifnet_t ifp = NULL; local 1549 struct ifnet *ifp = inp->ifp; local 1626 struct ifnet *ifp = inp->ifp; local 1864 struct ifnet *ifp = inp->ifp; local 1908 ifnet_input(struct ifnet *ifp, struct mbuf *m_head, const struct ifnet_stat_increment_param *s) argument 1915 ifnet_input_extended(struct ifnet *ifp, struct mbuf *m_head, struct mbuf *m_tail, const struct ifnet_stat_increment_param *s) argument 1922 ifnet_input_common(struct ifnet *ifp, struct mbuf *m_head, struct mbuf *m_tail, const struct ifnet_stat_increment_param *s, boolean_t ext, boolean_t poll) argument 2099 ifnet_start(struct ifnet *ifp) argument 2116 struct ifnet *ifp = v; local 2210 ifnet_set_start_cycle(struct ifnet *ifp, struct timespec *ts) argument 2223 ifnet_poll(struct ifnet *ifp) argument 2241 struct ifnet *ifp = v; local 2367 ifnet_set_poll_cycle(struct ifnet *ifp, struct timespec *ts) argument 2380 ifnet_purge(struct ifnet *ifp) argument 2404 ifnet_update_rcv(struct ifnet *ifp, cqev_t ev) argument 2418 ifnet_set_output_sched_model(struct ifnet *ifp, u_int32_t model) argument 2442 ifnet_set_sndq_maxlen(struct ifnet *ifp, u_int32_t maxqlen) argument 2455 ifnet_get_sndq_maxlen(struct ifnet *ifp, u_int32_t *maxqlen) argument 2468 ifnet_get_sndq_len(struct ifnet *ifp, u_int32_t *qlen) argument 2481 ifnet_set_rcvq_maxlen(struct ifnet *ifp, u_int32_t maxqlen) argument 2504 ifnet_get_rcvq_maxlen(struct ifnet *ifp, u_int32_t *maxqlen) argument 2521 ifnet_enqueue(struct ifnet *ifp, struct mbuf *m) argument 2556 ifnet_dequeue(struct ifnet *ifp, struct mbuf **mp) argument 2568 ifnet_dequeue_service_class(struct ifnet *ifp, mbuf_svc_class_t sc, struct mbuf **mp) argument 2581 ifnet_dequeue_multi(struct ifnet *ifp, u_int32_t limit, struct mbuf **head, struct mbuf **tail, u_int32_t *cnt, u_int32_t *len) argument 2594 ifnet_dequeue_service_class_multi(struct ifnet *ifp, mbuf_svc_class_t sc, u_int32_t limit, struct mbuf **head, struct mbuf **tail, u_int32_t *cnt, u_int32_t *len) argument 2610 dlil_interface_filters_input(struct ifnet *ifp, struct mbuf **m_p, char **frame_header_p, protocol_family_t protocol_family) argument 2656 dlil_interface_filters_output(struct ifnet *ifp, struct mbuf **m_p, protocol_family_t protocol_family) argument 2755 dlil_input_stats_sync(struct ifnet *ifp, struct dlil_threading_info *inp) argument 2813 dlil_input_packet_list(struct ifnet *ifp, struct mbuf *m) argument 2820 dlil_input_packet_list_extended(struct ifnet *ifp, struct mbuf *m, u_int32_t cnt, ifnet_model_t mode) argument 2833 ifnet_t ifp = ifp_param; local 2977 if_mcasts_update(struct ifnet *ifp) argument 2994 dlil_event_internal(struct ifnet *ifp, struct kev_msg *event) argument 3063 ifnet_event(ifnet_t ifp, struct kern_event_msg *event) argument 3132 ifp_inc_traffic_class_in(struct ifnet *ifp, struct mbuf *m) argument 3170 ifp_inc_traffic_class_out(struct ifnet *ifp, struct mbuf *m) argument 3220 dlil_output(ifnet_t ifp, protocol_family_t proto_family, mbuf_t packetlist, void *route, const struct sockaddr *dest, int raw, struct flowadv *adv) argument 3490 ifnet_ioctl(ifnet_t ifp, protocol_family_t proto_fam, u_long ioctl_code, void *ioctl_arg) argument 3598 dlil_set_bpf_tap(ifnet_t ifp, bpf_tap_mode mode, bpf_packet_func callback) argument 3614 dlil_resolve_multi(struct ifnet *ifp, const struct sockaddr *proto_addr, struct sockaddr *ll_addr, size_t ll_len) argument 3654 dlil_send_arp_internal(ifnet_t ifp, u_short arpop, const struct sockaddr_dl* sender_hw, const struct sockaddr* sender_proto, const struct sockaddr_dl* target_hw, const struct sockaddr* target_proto) argument 3718 dlil_send_arp(ifnet_t ifp, u_short arpop, const struct sockaddr_dl* sender_hw, const struct sockaddr* sender_proto, const struct sockaddr_dl* target_hw, const struct sockaddr* target_proto0, u_int32_t rtflags) argument 3831 ifnet_lookup(struct ifnet *ifp) argument 3848 ifnet_is_attached(struct ifnet *ifp, int refio) argument 3864 ifnet_decr_iorefcnt(struct ifnet *ifp) argument 3907 dlil_if_ref(struct ifnet *ifp) argument 3928 dlil_if_free(struct ifnet *ifp) argument 3953 struct ifnet *ifp = proto->ifp; local 4009 ifnet_attach_protocol(ifnet_t ifp, protocol_family_t protocol, const struct ifnet_attach_proto_param *proto_details) argument 4065 ifnet_attach_protocol_v2(ifnet_t ifp, protocol_family_t protocol, const struct ifnet_attach_proto_param_v2 *proto_details) argument 4121 ifnet_detach_protocol(ifnet_t ifp, protocol_family_t proto_family) argument 4187 ifproto_media_input_v1(struct ifnet *ifp, protocol_family_t protocol, struct mbuf *packet, char *header) argument 4195 ifproto_media_input_v2(struct ifnet *ifp, protocol_family_t protocol, struct mbuf *packet) argument 4204 ifproto_media_preout(struct ifnet *ifp, protocol_family_t protocol, mbuf_t *packet, const struct sockaddr *dest, void *route, char *frame_type, char *link_layer_dest) argument 4214 ifproto_media_event(struct ifnet *ifp, protocol_family_t protocol, const struct kev_msg *event) argument 4221 ifproto_media_ioctl(struct ifnet *ifp, protocol_family_t protocol, unsigned long command, void *argument) argument 4229 ifproto_media_resolve_multi(ifnet_t ifp, const struct sockaddr *proto_addr, struct sockaddr_dl *out_ll, size_t ll_len) argument 4237 ifproto_media_send_arp(struct ifnet *ifp, u_short arpop, const struct sockaddr_dl *sender_hw, const struct sockaddr *sender_proto, const struct sockaddr_dl *target_hw, const struct sockaddr *target_proto) argument 4248 ifnet_attach(ifnet_t ifp, const struct sockaddr_dl *ll_addr) argument 4632 dlil_alloc_lladdr(struct ifnet *ifp, const struct sockaddr_dl *ll_addr) argument 4733 if_purgeaddrs(struct ifnet *ifp) argument 4747 ifnet_detach(ifnet_t ifp) argument 4853 ifnet_detaching_enqueue(struct ifnet *ifp) argument 4866 struct ifnet *ifp; local 4886 struct ifnet *ifp; local 4927 ifnet_detach_final(struct ifnet *ifp) argument 5180 ifp_if_output(struct ifnet *ifp, struct mbuf *m) argument 5188 ifp_if_start(struct ifnet *ifp) argument 5194 ifp_if_input_poll(struct ifnet *ifp, u_int32_t flags, u_int32_t max_cnt, struct mbuf **m_head, struct mbuf **m_tail, u_int32_t *cnt, u_int32_t *len) argument 5209 ifp_if_ctl(struct ifnet *ifp, ifnet_ctl_cmd_t cmd, u_int32_t arglen, void *arg) argument 5216 ifp_if_demux(struct ifnet *ifp, struct mbuf *m, char *fh, protocol_family_t *pf) argument 5224 ifp_if_add_proto(struct ifnet *ifp, protocol_family_t pf, const struct ifnet_demux_desc *da, u_int32_t dc) argument 5232 ifp_if_del_proto(struct ifnet *ifp, protocol_family_t pf) argument 5239 ifp_if_check_multi(struct ifnet *ifp, const struct sockaddr *sa) argument 5245 ifp_if_framer(struct ifnet *ifp, struct mbuf **m, const struct sockaddr *sa, const char *ll, const char *t , u_int32_t *pre, u_int32_t *post ) argument 5264 ifp_if_ioctl(struct ifnet *ifp, unsigned long cmd, void *arg) argument 5271 ifp_if_set_bpf_tap(struct ifnet *ifp, bpf_tap_mode tm, bpf_packet_func f) argument 5279 ifp_if_free(struct ifnet *ifp) argument 5285 ifp_if_event(struct ifnet *ifp, const struct kev_msg *e) argument 5291 dlil_if_acquire(u_int32_t family, const void *uniqueid, size_t uniqueid_len, struct ifnet **ifp) argument 5418 dlil_if_release(ifnet_t ifp) argument 5459 dlil_proto_unplumb_all(struct ifnet *ifp) argument 5480 ifp_src_route_copyout(struct ifnet *ifp, struct route *dst) argument 5491 ifp_src_route_copyin(struct ifnet *ifp, struct route *src) argument 5507 ifp_src_route6_copyout(struct ifnet *ifp, struct route_in6 *dst) argument 5519 ifp_src_route6_copyin(struct ifnet *ifp, struct route_in6 *src) argument 5536 ifnet_cached_rtlookup_inet(struct ifnet *ifp, struct in_addr src_ip) argument 5577 ifnet_cached_rtlookup_inet6(struct ifnet *ifp, struct in6_addr *src_ip6) argument 5618 if_lqm_update(struct ifnet *ifp, int lqm) argument 5649 struct ifnet *ifp; local 5848 dlil_node_present(struct ifnet *ifp, struct sockaddr *sa, int32_t rssi, int lqm, int npm, u_int8_t srvinfo[48]) argument 5874 dlil_node_absent(struct ifnet *ifp, struct sockaddr *sa) argument 5895 ifnet_getset_opportunistic(ifnet_t ifp, u_long cmd, struct ifreq *ifr, struct proc *p) argument 5950 ifnet_get_throttle(struct ifnet *ifp, u_int32_t *level) argument 5971 ifnet_set_throttle(struct ifnet *ifp, u_int32_t level) argument [all...] |
H A D | kpi_interface.c | 96 ifnet_kpi_free(ifnet_t ifp) argument 98 ifnet_detached_func detach_func = ifp->if_kpi_storage; 101 detach_func(ifp); 103 if (ifp->if_broadcast.length > sizeof (ifp->if_broadcast.u.buffer)) { 104 FREE(ifp->if_broadcast.u.ptr, M_IFADDR); 105 ifp->if_broadcast.u.ptr = NULL; 108 dlil_if_release(ifp); 149 struct ifnet *ifp = NULL; local 191 einit.uniqueid_len, &ifp); 320 ifnet_reference(ifnet_t ifp) argument 326 ifnet_release(ifnet_t ifp) argument 430 ifnet_awdl_check_eflags(ifnet_t ifp, u_int32_t *new_eflags, u_int32_t *mask) argument 482 ifnet_set_idle_flags_locked(ifnet_t ifp, u_int32_t new_flags, u_int32_t mask) argument 528 ifnet_set_idle_flags(ifnet_t ifp, u_int32_t new_flags, u_int32_t mask) argument 542 ifnet_idle_flags(ifnet_t ifp) argument 548 ifnet_set_link_quality(ifnet_t ifp, int quality) argument 569 ifnet_link_quality(ifnet_t ifp) argument 584 ifnet_defrouter_llreachinfo(ifnet_t ifp, int af, struct ifnet_llreach_info *iflri) argument 596 ifnet_inet_defrouter_llreachinfo(ifnet_t ifp, struct ifnet_llreach_info *iflri) argument 602 ifnet_inet6_defrouter_llreachinfo(ifnet_t ifp, struct ifnet_llreach_info *iflri) argument 608 ifnet_set_capabilities_supported(ifnet_t ifp, u_int32_t new_caps, u_int32_t mask) argument 629 ifnet_capabilities_supported(ifnet_t ifp) argument 636 ifnet_set_capabilities_enabled(ifnet_t ifp, u_int32_t new_caps, u_int32_t mask) argument 675 ifnet_capabilities_enabled(ifnet_t ifp) argument 978 ifnet_set_baudrate(struct ifnet *ifp, u_int64_t baudrate) argument 993 ifnet_baudrate(struct ifnet *ifp) argument 999 ifnet_set_bandwidths(struct ifnet *ifp, struct if_bandwidths *output_bw, struct if_bandwidths *input_bw) argument 1015 ifnet_set_output_bandwidths(struct ifnet *ifp, struct if_bandwidths *bw, boolean_t locked) argument 1056 ifnet_set_input_bandwidths(struct ifnet *ifp, struct if_bandwidths *bw) argument 1078 ifnet_output_linkrate(struct ifnet *ifp) argument 1096 ifnet_input_linkrate(struct ifnet *ifp) argument 1102 ifnet_bandwidths(struct ifnet *ifp, struct if_bandwidths *output_bw, struct if_bandwidths *input_bw) argument 1117 ifnet_stat_increment(struct ifnet *ifp, const struct ifnet_stat_increment_param *s) argument 1149 ifnet_stat_increment_in(struct ifnet *ifp, u_int32_t packets_in, u_int32_t bytes_in, u_int32_t errors_in) argument 1168 ifnet_stat_increment_out(struct ifnet *ifp, u_int32_t packets_out, u_int32_t bytes_out, u_int32_t errors_out) argument 1187 ifnet_set_stat(struct ifnet *ifp, const struct ifnet_stats_param *s) argument 1213 ifnet_stat(struct ifnet *ifp, struct ifnet_stats_param *s) argument 1286 struct ifnet *ifp; local 1559 ifnet_get_multicast_list(ifnet_t ifp, ifmultiaddr_t **addresses) argument 1610 struct ifnet *ifp; local 1670 struct ifnet *ifp; local 1743 ifnet_transmit_burst_start(ifnet_t ifp, mbuf_t pkt) argument 1762 ifnet_transmit_burst_end(ifnet_t ifp, mbuf_t pkt) argument 1947 struct ifnet *ifp; local 2159 ifnet_get_local_ports(ifnet_t ifp, uint8_t *bitfield) argument 2173 ifnet_notice_node_presence(ifnet_t ifp, struct sockaddr* sa, int32_t rssi, int lqm, int npm, u_int8_t srvinfo[48]) argument 2188 ifnet_notice_node_absence(ifnet_t ifp, struct sockaddr* sa) argument 2202 ifnet_notice_master_elected(ifnet_t ifp) argument [all...] |
H A D | ether_at_pr_module.c | 105 __unused ifnet_t ifp, 134 ifnet_t ifp, 146 if ((ifp->if_flags & (IFF_UP|IFF_RUNNING)) != (IFF_UP|IFF_RUNNING)) 171 printf("%s%d: can't handle af%d\n", ifp->if_name, ifp->if_unit, 184 ifnet_t ifp, 199 if ((ifp->if_flags & IFF_RUNNING) == 0) { 200 ifnet_set_flags(ifp, IFF_UP, IFF_UP); 201 ifnet_ioctl(ifp, 0, SIOCSIFFLAGS, NULL); 209 ifnet_lladdr_copy_bytes(ifp, if 104 ether_at_input( __unused ifnet_t ifp, __unused protocol_family_t protocol_family, mbuf_t m, __unused char *frame_header) argument 133 ether_at_pre_output( ifnet_t ifp, __unused protocol_family_t protocol_family, mbuf_t *m0, const struct sockaddr *dst_netaddr, __unused void *route, char *type, char *edst) argument 183 ether_at_prmod_ioctl( ifnet_t ifp, __unused protocol_family_t protocol_family, u_int32_t command, void *data) argument 223 ether_attach_at( ifnet_t ifp, __unused protocol_family_t proto_family) argument 257 ether_detach_at( ifnet_t ifp, __unused protocol_family_t proto_family) argument [all...] |
H A D | if.c | 147 void if_rtproto_del(struct ifnet *ifp, int protocol); 263 if_attach_ifa(struct ifnet *ifp, struct ifaddr *ifa) argument 265 if_attach_ifa_common(ifp, ifa, 0); 269 if_attach_link_ifa(struct ifnet *ifp, struct ifaddr *ifa) argument 271 if_attach_ifa_common(ifp, ifa, 1); 275 if_attach_ifa_common(struct ifnet *ifp, struct ifaddr *ifa, int link) argument 277 ifnet_lock_assert(ifp, IFNET_LCK_ASSERT_EXCLUSIVE); 280 if (ifa->ifa_ifp != ifp) { 281 panic("%s: Mismatch ifa_ifp=%p != ifp=%p", __func__, 282 ifa->ifa_ifp, ifp); 307 if_detach_ifa(struct ifnet *ifp, struct ifaddr *ifa) argument 313 if_detach_link_ifa(struct ifnet *ifp, struct ifaddr *ifa) argument 319 if_detach_ifa_common(struct ifnet *ifp, struct ifaddr *ifa, int link) argument 517 struct ifnet *ifp; local 753 ifa_ifpgetprimary(struct ifnet *ifp, int family) argument 779 struct ifnet *ifp; local 829 struct ifnet *ifp; local 869 struct ifnet *ifp; local 941 struct ifnet *ifp; local 1089 ifaof_ifpforaddr(const struct sockaddr *addr, struct ifnet *ifp) argument 1188 struct ifnet *ifp; local 1225 if_updown( struct ifnet *ifp, int up) argument 1291 if_down( struct ifnet *ifp) argument 1304 if_up( struct ifnet *ifp) argument 1316 if_qflush(struct ifnet *ifp, int ifq_locked) argument 1339 if_qflush_sc(struct ifnet *ifp, mbuf_svc_class_t sc, u_int32_t flow, u_int32_t *packets, u_int32_t *bytes, int ifq_locked) argument 1381 struct ifnet *ifp; local 1456 struct ifnet *ifp = NULL; local 1888 struct ifnet *ifp; local 2314 ifnet_set_promiscuous( ifnet_t ifp, int pswitch) argument 2369 struct ifnet *ifp = NULL; local 2471 if_allmulti(struct ifnet *ifp, int onswitch) argument 2649 if_attach_ifma(struct ifnet *ifp, struct ifmultiaddr *ifma, int anon) argument 2685 if_detach_ifma(struct ifnet *ifp, struct ifmultiaddr *ifma, int anon) argument 2761 if_addmulti_doesexist(struct ifnet *ifp, const struct sockaddr *sa, struct ifmultiaddr **retifma, int anon) argument 2870 if_addmulti(struct ifnet *ifp, const struct sockaddr *sa, struct ifmultiaddr **retifma) argument 2882 if_addmulti_anon(struct ifnet *ifp, const struct sockaddr *sa, struct ifmultiaddr **retifma) argument 2911 if_addmulti_common(struct ifnet *ifp, const struct sockaddr *sa, struct ifmultiaddr **retifma, int anon) argument 3071 if_delmulti(struct ifnet *ifp, const struct sockaddr *sa) argument 3092 if_delmulti_anon(struct ifnet *ifp, const struct sockaddr *sa) argument 3103 if_delmulti_common(struct ifmultiaddr *ifma, struct ifnet *ifp, const struct sockaddr *sa, int anon) argument 3196 if_setlladdr(struct ifnet *ifp, const u_char *lladdr, int len) argument 3213 struct ifnet **ifp; local 3247 struct ifnet *ifp = arg; local 3280 if_rtproto_del(struct ifnet *ifp, int protocol) argument 3298 struct ifnet *ifp = arg; local 3321 if_rtmtu_update(struct ifnet *ifp) argument 3340 if_data_internal_to_if_data(struct ifnet *ifp, const struct if_data_internal *if_data_int, struct if_data *if_data) argument 3400 if_data_internal_to_if_data64(struct ifnet *ifp, const struct if_data_internal *if_data_int, struct if_data64 *if_data64) argument 3452 if_copy_traffic_class(struct ifnet *ifp, struct if_traffic_class *if_tc) argument 3486 if_copy_data_extended(struct ifnet *ifp, struct if_data_extended *if_de) argument 3500 if_copy_packet_stats(struct ifnet *ifp, struct if_packet_stats *if_ps) argument 3541 if_copy_rxpoll_stats(struct ifnet *ifp, struct if_rxpoll_stats *if_rs) argument [all...] |
H A D | ether_inet_pr_module.c | 115 ether_inet_arp_input(struct ifnet *ifp, struct mbuf *m) argument 157 arp_llreach_set_reachable(ifp, LLADDR(&sender_hw), ETHER_ADDR_LEN); 159 arp_ip_handle_input(ifp, ntohs(ea->arp_op), &sender_hw, &sender_ip, 170 ether_inet_input(ifnet_t ifp, protocol_family_t protocol_family, argument 173 #pragma unused(ifp, protocol_family) 184 * Trust the ifp in the mbuf, rather than ifproto's 186 * a dlil_input_packet_list() using an ifp that is 228 ether_inet_pre_output(ifnet_t ifp, protocol_family_t protocol_family, argument 237 if ((ifp->if_flags & (IFF_UP|IFF_RUNNING)) != (IFF_UP|IFF_RUNNING)) 249 result = arp_lookup_ip(ifp, 282 ether_inet_resolve_multi(ifnet_t ifp, const struct sockaddr *proto_addr, struct sockaddr_dl *out_ll, size_t ll_len) argument 313 ether_inet_prmod_ioctl(ifnet_t ifp, protocol_family_t protocol_family, u_long command, void *data) argument 375 ether_inet_event(ifnet_t ifp, protocol_family_t protocol, const struct kev_msg *event) argument 400 ether_inet_arp(ifnet_t ifp, u_short arpop, const struct sockaddr_dl *sender_hw, const struct sockaddr *sender_proto, const struct sockaddr_dl *target_hw, const struct sockaddr *target_proto) argument 532 ether_attach_inet(struct ifnet *ifp, protocol_family_t proto_family) argument 568 ether_detach_inet(struct ifnet *ifp, protocol_family_t proto_family) argument [all...] |
H A D | if_vlan.c | 113 typedef int (if_set_bpf_tap_func)(struct ifnet *ifp, int mode, bpf_callback_func * func); 373 static int vlan_input(ifnet_t ifp, protocol_family_t protocol, 375 static int vlan_output(struct ifnet *ifp, struct mbuf *m); 376 static int vlan_ioctl(ifnet_t ifp, u_long cmd, void * addr); 377 static int vlan_set_bpf_tap(ifnet_t ifp, bpf_tap_mode mode, 379 static int vlan_attach_protocol(struct ifnet *ifp); 380 static int vlan_detach_protocol(struct ifnet *ifp); 381 static int vlan_setmulti(struct ifnet *ifp); 383 static int vlan_config(struct ifnet * ifp, struct ifnet * p, int tag); 384 static void vlan_if_free(struct ifnet * ifp); 456 ifnet_get_ifvlan(struct ifnet * ifp) argument 465 ifnet_get_ifvlan_retained(struct ifnet * ifp) argument 481 ifnet_ifvlan_vlan_parent_ok(struct ifnet * ifp, ifvlan_ref ifv, vlan_parent_ref vlp) argument 538 siocgifdevmtu(struct ifnet * ifp, struct ifdevmtu * ifdm_p) argument 552 siocsifaltmtu(struct ifnet * ifp, int mtu) argument 562 vlan_bpf_output(struct ifnet * ifp, struct mbuf * m, bpf_packet_func func) argument 572 vlan_bpf_input(struct ifnet * ifp, struct mbuf * m, bpf_packet_func func, char * frame_header, int frame_header_len, int encap_len) argument 624 struct ifnet * ifp = vlp->vlp_ifp; local 657 struct ifnet * ifp = vlp->vlp_ifp; local 667 struct ifnet * ifp = vlp->vlp_ifp; local 690 struct ifnet * ifp = vlp->vlp_ifp; local 706 vlan_setmulti(struct ifnet * ifp) argument 875 struct ifnet * ifp = ifv->ifv_ifp; local 944 ifnet_t ifp; local 1025 vlan_clone_destroy(struct ifnet *ifp) argument 1048 vlan_set_bpf_tap(ifnet_t ifp, bpf_tap_mode mode, bpf_packet_func func) argument 1083 vlan_output(struct ifnet * ifp, struct mbuf * m) argument 1204 struct ifnet * ifp = NULL; local 1299 vlan_config(struct ifnet * ifp, struct ifnet * p, int tag) argument 1506 vlan_link_event(struct ifnet * ifp, struct ifnet * p) argument 1528 struct ifnet * ifp = ifv->ifv_ifp; local 1629 vlan_set_promisc(struct ifnet * ifp) argument 1674 struct ifnet * ifp = ifv->ifv_ifp; local 1710 vlan_set_mtu(struct ifnet * ifp, int mtu) argument 1764 vlan_ioctl(ifnet_t ifp, u_long cmd, void * data) argument 1961 vlan_if_free(struct ifnet * ifp) argument 2012 interface_link_event(struct ifnet * ifp, u_int32_t event_code) argument 2062 struct ifnet * ifp = ifv->ifv_ifp; local 2088 vlan_attach_protocol(struct ifnet *ifp) argument 2111 vlan_detach_protocol(struct ifnet *ifp) argument 2132 vlan_attach_inet(struct ifnet *ifp, protocol_family_t protocol_family) argument 2138 vlan_detach_inet(struct ifnet *ifp, protocol_family_t protocol_family) argument 2145 vlan_attach_inet6(struct ifnet *ifp, protocol_family_t protocol_family) argument 2151 vlan_detach_inet6(struct ifnet *ifp, protocol_family_t protocol_family) argument 2159 vlan_attach_at(struct ifnet *ifp, protocol_family_t protocol_family) argument 2165 vlan_detach_at(struct ifnet *ifp, protocol_family_t protocol_family) argument [all...] |
H A D | net_osdep.c | 76 if_name(struct ifnet *ifp) argument 86 snprintf(cp, IFNAMSIZ + 10, "%s%d", ifp->if_name, ifp->if_unit);
|
H A D | ether_inet6_pr_module.c | 110 ether_inet6_input(ifnet_t ifp, protocol_family_t protocol, argument 113 #pragma unused(ifp, protocol) 122 * Trust the ifp in the mbuf, rather than ifproto's 124 * a dlil_input_packet_list() using an ifp that is 147 ether_inet6_pre_output(ifnet_t ifp, protocol_family_t protocol_family, argument 161 result = nd6_lookup_ipv6(ifp, (const struct sockaddr_in6 *) 175 ether_inet6_resolve_multi(ifnet_t ifp, const struct sockaddr *proto_addr, argument 195 out_ll->sdl_index = ifp->if_index; 206 ether_inet6_prmod_ioctl(ifnet_t ifp, protocol_family_t protocol_family, argument 219 if ((ifp 241 ether_attach_inet6(struct ifnet *ifp, protocol_family_t protocol_family) argument 269 ether_detach_inet6(struct ifnet *ifp, protocol_family_t protocol_family) argument [all...] |
H A D | if_pflog.c | 205 pflog_clone_destroy(struct ifnet *ifp) argument 207 struct pflog_softc *pflogif = ifp->if_softc; 217 (void) ifnet_detach(ifp); 223 pflogoutput(struct ifnet *ifp, struct mbuf *m) argument 225 printf("%s: freeing data for %s%d\n", __func__, ifp->if_name, 226 ifp->if_unit); 232 pflogioctl(struct ifnet *ifp, unsigned long cmd, void *data) argument 240 if (ifnet_flags(ifp) & IFF_UP) 241 ifnet_set_flags(ifp, IFF_RUNNING, IFF_RUNNING); 243 ifnet_set_flags(ifp, 253 pflogdemux(struct ifnet *ifp, struct mbuf *m, char *h, protocol_family_t *ppf) argument 263 pflogaddproto(struct ifnet *ifp, protocol_family_t pf, const struct ifnet_demux_desc *d, u_int32_t cnt) argument 271 pflogdelproto(struct ifnet *ifp, protocol_family_t pf) argument 278 pflogfree(struct ifnet *ifp) argument [all...] |
H A D | kpi_protocol.h | 135 @param ifp The interface the protocol should be attached to. 141 typedef errno_t (*proto_plumb_handler)(ifnet_t ifp, protocol_family_t protocol); 148 @param ifp The interface the protocol should be detached from. 152 typedef void (*proto_unplumb_handler)(ifnet_t ifp, protocol_family_t protocol); 192 @param ifp The interface to plumb the protocol to. 197 extern errno_t proto_plumb(protocol_family_t protocol_family, ifnet_t ifp); 207 @param ifp The interface to unplumb the protocol from. 212 extern errno_t proto_unplumb(protocol_family_t protocol_family, ifnet_t ifp);
|
H A D | if_stf.c | 198 static errno_t stf_ioctl(ifnet_t ifp, u_long cmd, void *data); 199 static errno_t stf_output(ifnet_t ifp, mbuf_t m); 215 __unused ifnet_t ifp, 230 ifnet_t ifp, 236 struct stf_softc* stf = ifnet_softc(ifp); 249 ifnet_t ifp, 252 if (((struct stf_softc*)ifnet_softc(ifp))->sc_protocol_family == protocol_family) 253 ((struct stf_softc*)ifnet_softc(ifp))->sc_protocol_family = 0; 260 ifnet_t ifp, 273 stat = ifnet_attach_protocol(ifp, protocol_famil 214 stf_media_input( __unused ifnet_t ifp, protocol_family_t protocol_family, mbuf_t m, __unused char *frame_header) argument 229 stf_add_proto( ifnet_t ifp, protocol_family_t protocol_family, __unused const struct ifnet_demux_desc *demux_array, __unused u_int32_t demux_count) argument 248 stf_del_proto( ifnet_t ifp, protocol_family_t protocol_family) argument 259 stf_attach_inet6( ifnet_t ifp, protocol_family_t protocol_family) argument 283 stf_demux( ifnet_t ifp, __unused mbuf_t m, __unused char *frame_ptr, protocol_family_t *protocol_family) argument 295 stf_set_bpf_tap( ifnet_t ifp, bpf_tap_mode mode, bpf_packet_func callback) argument 458 stf_getsrcifa6(struct ifnet *ifp) argument 509 stf_pre_output( struct ifnet *ifp, __unused protocol_family_t protocol_family, struct mbuf **m0, const struct sockaddr *dst, __unused void *route, __unused char *desk_linkaddr, __unused char *frame_type) argument 632 stf_output( __unused ifnet_t ifp, __unused mbuf_t m) argument 750 struct ifnet *ifp; local 845 stf_ioctl( ifnet_t ifp, u_long cmd, void *data) argument [all...] |
H A D | if_gif.c | 115 #define GIF_MAXUNIT 0x7fff /* ifp->if_unit is only 15 bits */ 126 static errno_t gif_output(ifnet_t ifp, mbuf_t m); 127 static errno_t gif_input(ifnet_t ifp, protocol_family_t protocol_family, 129 static errno_t gif_ioctl(ifnet_t ifp, u_long cmd, void *data); 176 ifnet_t ifp, 182 *protocol_family = ((struct gif_softc*)ifnet_softc(ifp))->gif_proto; 189 ifnet_t ifp, 195 struct gif_softc* gif = ifnet_softc(ifp); 198 printf("gif_add_proto: request add_proto for gif%d\n", ifnet_unit(ifp)); 207 ifnet_t ifp, 175 gif_demux( ifnet_t ifp, __unused mbuf_t m, __unused char *frame_header, protocol_family_t *protocol_family) argument 188 gif_add_proto( ifnet_t ifp, protocol_family_t protocol_family, __unused const struct ifnet_demux_desc *demux_array, __unused u_int32_t demux_count) argument 206 gif_del_proto( ifnet_t ifp, protocol_family_t protocol_family) argument 218 gif_attach_proto_family( ifnet_t ifp, protocol_family_t protocol_family) argument 275 gif_set_bpf_tap( ifnet_t ifp, bpf_tap_mode mode, bpf_packet_func callback) argument 390 gif_clone_destroy(struct ifnet *ifp) argument 482 gif_output( ifnet_t ifp, mbuf_t m) argument 544 gif_input( ifnet_t ifp, protocol_family_t protocol_family, mbuf_t m, __unused char *frame_header) argument 577 gif_ioctl( ifnet_t ifp, u_long cmd, void *data) argument [all...] |
H A D | if_llreach.c | 187 ifnet_llreach_ifattach(struct ifnet *ifp, boolean_t reuse) argument 189 lck_rw_lock_exclusive(&ifp->if_llreach_lock); 192 RB_INIT(&ifp->if_ll_srcs); 193 lck_rw_done(&ifp->if_llreach_lock); 197 ifnet_llreach_ifdetach(struct ifnet *ifp) argument 199 #pragma unused(ifp) 203 * to by route entries pointing to this ifp. 265 ifnet_llreach_set_reachable(struct ifnet *ifp, u_int16_t llproto, void *addr, argument 275 lck_rw_lock_shared(&ifp->if_llreach_lock); 276 lr = RB_FIND(ll_reach_tree, &ifp 289 ifnet_llreach_alloc(struct ifnet *ifp, u_int16_t llproto, void *addr, unsigned int alen, u_int64_t llreach_base) argument 361 struct ifnet *ifp; local 426 ifnet_llreach_get_defrouter(struct ifnet *ifp, int af, struct ifnet_llreach_info *iflri) argument 628 struct ifnet *ifp; variable in typeref:struct:ifnet [all...] |
/darwin-on-arm/xnu/security/ |
H A D | mac_net.c | 139 mac_ifnet_label_init(struct ifnet *ifp) argument 142 ifp->if_label = mac_ifnet_label_alloc(); 191 mac_ifnet_label_destroy(struct ifnet *ifp) argument 194 mac_ifnet_label_free(ifp->if_label); 195 ifp->if_label = NULL; 199 mac_ifnet_label_recycle(struct ifnet *ifp) argument 202 MAC_PERFORM(ifnet_label_recycle, ifp->if_label); 271 mac_ifnet_label_associate(struct ifnet *ifp) argument 274 MAC_PERFORM(ifnet_label_associate, ifp, ifp 287 mac_bpfdesc_check_receive(struct bpf_d *bpf_d, struct ifnet *ifp) argument 341 mac_mbuf_label_associate_ifnet(struct ifnet *ifp, struct mbuf *mbuf) argument 354 mac_mbuf_label_associate_linklayer(struct ifnet *ifp, struct mbuf *mbuf) argument 367 mac_mbuf_label_associate_multicast_encap(struct mbuf *oldmbuf, struct ifnet *ifp, struct mbuf *newmbuf) argument 409 mac_ifnet_check_transmit(struct ifnet *ifp, struct mbuf *mbuf, int family, int type) argument 426 mac_ifnet_label_get(__unused struct ucred *cred, struct ifreq *ifr, struct ifnet *ifp) argument 472 mac_ifnet_label_set(struct ucred *cred, struct ifreq *ifr, struct ifnet *ifp) argument [all...] |
/darwin-on-arm/xnu/bsd/netinet/ |
H A D | in.c | 337 in_domifattach(struct ifnet *ifp) argument 341 if ((error = proto_plumb(PF_INET, ifp)) && error != EEXIST) 343 __func__, error, ifp->if_name, ifp->if_unit); 370 in_control(struct socket *so, u_long cmd, caddr_t data, struct ifnet *ifp, argument 393 if (ifp == NULL) 397 error = in_lifaddr_ioctl(so, cmd, &iflr, ifp, p); 409 if (ifp != NULL) { 419 if (iap->ia_ifp != ifp) 450 if (ifp 1245 in_lifaddr_ioctl(struct socket *so, u_long cmd, struct if_laddrreq *iflr, struct ifnet *ifp, struct proc *p) argument 1422 in_setrouter(struct ifnet *ifp, int enable) argument 1446 in_ifscrub(struct ifnet *ifp, struct in_ifaddr *ia, int locked) argument 1565 in_ifinit( struct ifnet *ifp, struct in_ifaddr *ia, struct sockaddr_in *sin, int scrub) argument 1754 in_broadcast(struct in_addr in, struct ifnet *ifp) argument 1797 in_purgeaddrs(struct ifnet *ifp) argument [all...] |
H A D | in_dhcp.h | 45 dhcp(struct ifnet * ifp, struct in_addr * iaddr_p, int max_try,
|
H A D | igmp.c | 398 struct ifnet *ifp; variable in typeref:struct:ifnet 421 ifp = ifindex2ifnet[name[0]]; 423 if (ifp == NULL) 430 if (ifp != igi->igi_ifp) { 462 const int loop, struct ifnet *ifp) 480 igmp_sendpkt(m, ifp); 540 igmp_domifattach(struct ifnet *ifp, int how) argument 544 IGMP_PRINTF(("%s: called for ifp %p(%s)\n", 545 __func__, ifp, ifp 461 igmp_dispatch_queue(struct igmp_ifinfo *igi, struct ifqueue *ifq, int limit, const int loop, struct ifnet *ifp) argument 580 struct ifnet *ifp; local 608 igmp_domifdetach(struct ifnet *ifp) argument 632 igi_delete(const struct ifnet *ifp, struct igmp_inm_relhead *inm_dthead) argument 661 igmp_initsilent(struct ifnet *ifp, struct igmp_ifinfo *igi) argument 675 igi_initvar(struct igmp_ifinfo *igi, struct ifnet *ifp, int reattach) argument 755 struct ifnet *ifp; local 793 igmp_input_v1_query(struct ifnet *ifp, const struct ip *ip, const struct igmp *igmp) argument 878 igmp_input_v2_query(struct ifnet *ifp, const struct ip *ip, const struct igmp *igmp) argument 1033 igmp_input_v3_query(struct ifnet *ifp, const struct ip *ip, struct igmpv3 *igmpv3) argument 1314 igmp_input_v1_report(struct ifnet *ifp, struct ip *ip, struct igmp *igmp) argument 1431 igmp_input_v2_report(struct ifnet *ifp, struct ip *ip, struct igmp *igmp) argument 1558 struct ifnet *ifp; local 1772 struct ifnet *ifp; local 2221 struct ifnet *ifp; local 2391 struct ifnet *ifp; local 2478 struct ifnet *ifp; local 2538 struct ifnet *ifp; local 2675 struct ifnet *ifp; local 2877 struct ifnet *ifp; local 3240 struct ifnet *ifp; local 3557 struct ifnet *ifp; local 3625 igmp_sendpkt(struct mbuf *m, struct ifnet *ifp) argument 3730 igmp_v3_encap_report(struct ifnet *ifp, struct mbuf *m) argument [all...] |
/darwin-on-arm/xnu/bsd/netinet6/ |
H A D | in6_ifattach.c | 136 __unused struct ifnet *ifp, 262 struct ifnet *ifp, 275 ifnet_lock_shared(ifp); 276 ifa = ifp->if_lladdr; 279 ifnet_lock_done(ifp); 283 ifnet_lock_done(ifp); 290 switch (ifp->if_type) { 412 struct ifnet *ifp; local 430 TAILQ_FOREACH(ifp, &ifnet_head, if_list) { 431 if (ifp 135 get_rand_ifid( __unused struct ifnet *ifp, struct in6_addr *in6) argument 261 in6_get_hw_ifid( struct ifnet *ifp, struct in6_addr *in6) argument 473 in6_ifattach_linklocal( struct ifnet *ifp, struct ifnet *altifp, struct in6_aliasreq *ifra_passed) argument 613 in6_ifattach_loopback( struct ifnet *ifp) argument 674 in6_nigroup( struct ifnet *ifp, const char *name, int namelen, struct in6_addr *in6) argument 721 in6_domifattach(struct ifnet *ifp) argument 744 in6_ifattach( struct ifnet *ifp, struct ifnet *altifp, struct in6_aliasreq *ifra) argument 924 in6_ifdetach(struct ifnet *ifp) argument 1103 in6_get_tmpifid( struct ifnet *ifp, u_int8_t *retbuf, const u_int8_t *baseid, int generate) argument [all...] |
H A D | in6.c | 507 in6_control(struct socket *so, u_long cmd, caddr_t data, struct ifnet *ifp, argument 547 if (ifp == NULL) 583 return (nd6_ioctl(cmd, data, ifp)); 607 return (scope6_set(ifp, ifru_scope_id)); 617 return (scope6_get(ifp, ifru_scope_id)); 640 error = in6_lifaddr_ioctl(so, cmd, &iflr, ifp, p); 706 return (in6_autoconf(ifp, TRUE)); 710 return (in6_autoconf(ifp, FALSE)); 721 if ((ifp->if_eflags & IFEF_NOAUTOIPV6LL) != 0 && 725 error = in6_if_up(ifp, ifr 1328 in6_autoconf(struct ifnet *ifp, int enable) argument 1396 in6_setrouter(struct ifnet *ifp, int enable) argument 1446 in6_update_ifa(struct ifnet *ifp, struct in6_aliasreq *ifra, struct in6_ifaddr *ia, int flags, int how) argument 2024 struct ifnet *ifp = ifa->ifa_ifp; local 2081 in6_unlink_ifa(struct in6_ifaddr *ia, struct ifnet *ifp) argument 2162 in6_purgeif(struct ifnet *ifp) argument 2220 in6_lifaddr_ioctl(struct socket *so, u_long cmd, struct if_laddrreq *iflr, struct ifnet *ifp, struct proc *p) argument 2632 in6_purgeaddrs(struct ifnet *ifp) argument 2941 struct ifnet *ifp; local 3236 in6_ifawithifp( struct ifnet *ifp, struct in6_addr *dst) argument 3382 in6_if_up( struct ifnet *ifp, struct in6_aliasreq *ifra) argument 3422 in6if_do_dad( struct ifnet *ifp) argument 3477 struct ifnet *ifp; local 3508 in6_if2idlen(struct ifnet *ifp) argument 3642 in6_post_msg(struct ifnet *ifp, u_int32_t event_code, struct in6_ifaddr *ifa) argument [all...] |
H A D | scope6.c | 91 struct ifnet *ifp) 123 #define SID scope6_ids[ifp->if_index] 135 SID.s6id_list[IPV6_ADDR_SCOPE_INTFACELOCAL] = ifp->if_index; 136 SID.s6id_list[IPV6_ADDR_SCOPE_LINKLOCAL] = ifp->if_index; 150 struct ifnet *ifp, 172 idlist[i] != scope6_ids[ifp->if_index].s6id_list[i]) { 190 scope6_ids[ifp->if_index].s6id_list[i] = idlist[i]; 200 struct ifnet *ifp, 207 bcopy(scope6_ids[ifp->if_index].s6id_list, idlist, 208 sizeof(scope6_ids[ifp 90 scope6_ifattach( struct ifnet *ifp) argument 149 scope6_set( struct ifnet *ifp, u_int32_t *idlist) argument 199 scope6_get( struct ifnet *ifp, u_int32_t *idlist) argument 279 in6_addr2scopeid( struct ifnet *ifp, struct in6_addr *addr) argument 330 struct ifnet *ifp; local 433 scope6_setdefault( struct ifnet *ifp) argument 490 in6_setscope(struct in6_addr *in6, struct ifnet *ifp, u_int32_t *ret_id) argument [all...] |
H A D | nd6_nbr.c | 174 nd6_llreach_alloc(struct rtentry *rt, struct ifnet *ifp, void *addr, argument 180 (ln->ln_expire != 0 || (ifp->if_eflags & IFEF_IPV6_ND6ALT) != 0) && 182 ifp->if_addrlen == IF_LLREACH_MAXLEN && /* Ethernet */ 183 alen == ifp->if_addrlen) { 217 lr = ln->ln_llreach = ifnet_llreach_alloc(ifp, 229 nd6log((LOG_DEBUG, "%s%d: %s%s for %s\n", ifp->if_name, 230 ifp->if_unit, type, why, inet_ntop(AF_INET6, 255 struct ifnet *ifp = m->m_pkthdr.rcvif; local 271 if ((ifp->if_eflags & IFEF_IPV6_ND6ALT) != 0) { 291 if (in6_setscope(&taddr6, ifp, NUL 549 nd6_ns_output( struct ifnet *ifp, const struct in6_addr *daddr6, const struct in6_addr *taddr6, struct llinfo_nd6 *ln, int dad) argument 843 struct ifnet *ifp = m->m_pkthdr.rcvif; local 1262 nd6_na_output( struct ifnet *ifp, const struct in6_addr *daddr6_0, const struct in6_addr *taddr6, uint32_t flags, int tlladdr, struct sockaddr *sdl0) argument 1472 nd6_ifptomac( struct ifnet *ifp) argument 1732 struct ifnet *ifp = ifa->ifa_ifp; local 1879 struct ifnet *ifp = ifa->ifa_ifp; local 1935 struct ifnet *ifp = ifa->ifa_ifp; local 1962 struct ifnet *ifp; local 2040 struct ifnet *ifp; local 2161 nd6_llreach_set_reachable(struct ifnet *ifp, void *addr, unsigned int alen) argument 2171 nd6_alt_node_addr_decompose(struct ifnet *ifp, struct sockaddr *sa, struct sockaddr_dl* sdl, struct sockaddr_in6 *sin6) argument 2254 nd6_alt_node_present(struct ifnet *ifp, struct sockaddr_in6 *sin6, struct sockaddr_dl *sdl, int32_t rssi, int lqm, int npm) argument 2304 nd6_alt_node_absent(struct ifnet *ifp, struct sockaddr_in6 *sin6) argument [all...] |
H A D | mld6.c | 217 * will not accept an ifp; it wants an embedded scope ID, unlike 218 * ip_output(), which happily takes the ifp given to it. The embedded 357 struct ifnet *ifp; variable in typeref:struct:ifnet 380 ifp = ifindex2ifnet[name[0]]; 382 if (ifp == NULL) 389 if (ifp != mli->mli_ifp) { 480 mld_domifattach(struct ifnet *ifp, int how) argument 484 MLD_PRINTF(("%s: called for ifp %p(%s%d)\n", 485 __func__, ifp, ifp 520 struct ifnet *ifp; local 548 mld_domifdetach(struct ifnet *ifp) argument 572 mli_delete(const struct ifnet *ifp, struct mld_in6m_relhead *in6m_dthead) argument 601 mld6_initsilent(struct ifnet *ifp, struct mld_ifinfo *mli) argument 616 mli_initvar(struct mld_ifinfo *mli, struct ifnet *ifp, int reattach) argument 698 struct ifnet *ifp; local 739 mld_v1_input_query(struct ifnet *ifp, const struct ip6_hdr *ip6, struct mld_hdr *mld) argument 914 mld_v2_input_query(struct ifnet *ifp, const struct ip6_hdr *ip6, struct mbuf *m, const int off, const int icmp6len) argument 1215 mld_v1_input_report(struct ifnet *ifp, const struct ip6_hdr *ip6, struct mld_hdr *mld) argument 1369 struct ifnet *ifp; local 1438 struct ifnet *ifp; local 1839 struct ifnet *ifp; local 1941 struct ifnet *ifp; local 2051 struct ifnet *ifp; local 2115 struct ifnet *ifp; local 2269 struct ifnet *ifp; local 2469 struct ifnet *ifp; local 2847 struct ifnet *ifp; local 3158 struct ifnet *ifp; local 3228 struct ifnet *ifp; local 3349 mld_v2_encap_report(struct ifnet *ifp, struct mbuf *m) argument [all...] |
/darwin-on-arm/xnu/bsd/net/altq/ |
H A D | altq_fairq.c | 122 struct ifnet *ifp; local 127 if ((ifp = ifunit(a->ifname)) == NULL || a->altq_disc == NULL) 130 IFCQ_LOCK(&ifp->if_snd); 131 error = altq_attach(IFCQ_ALTQ(&ifp->if_snd), ALTQT_FAIRQ, a->altq_disc, 133 IFCQ_UNLOCK(&ifp->if_snd); 142 struct ifnet *ifp; local 146 if ((ifp = ifunit(a->ifname)) == NULL) 148 if (!ALTQ_IS_READY(IFCQ_ALTQ(&ifp->if_snd))) 151 fif = fairq_alloc(ifp, M_WAITOK, TRUE);
|