/macosx-10.10.1/ppp-786.1.1/Family/ |
H A D | ppp_ip.h | 32 errno_t ppp_ip_attach(ifnet_t ifp, protocol_family_t protocol_family); 33 void ppp_ip_detach(ifnet_t ifp, protocol_family_t protocol_family); 35 int ppp_ip_af_src_out(ifnet_t ifp, char *pkt); 36 int ppp_ip_af_src_in(ifnet_t ifp, char *pkt); 38 int ppp_ip_bootp_server_in(ifnet_t ifp, char *pkt); 39 int ppp_ip_bootp_client_in(ifnet_t ifp, char *pkt);
|
H A D | ppp_ipv6.h | 32 errno_t ppp_ipv6_attach(ifnet_t ifp, protocol_family_t protocol_family); 33 void ppp_ipv6_detach(ifnet_t ifp, protocol_family_t protocol_family);
|
H A D | ppp_ipv6.c | 68 static errno_t ppp_ipv6_input(ifnet_t ifp, protocol_family_t protocol, 70 static errno_t ppp_ipv6_preoutput(ifnet_t ifp, protocol_family_t protocol, 73 static errno_t ppp_ipv6_ioctl(ifnet_t ifp, protocol_family_t protocol, 100 attach the PPPx interface ifp to the network protocol IPv6, 103 errno_t ppp_ipv6_attach(ifnet_t ifp, protocol_family_t protocol) argument 107 struct ppp_if *wan = (struct ppp_if *)ifnet_softc(ifp); 109 LOGDBG(ifp, ("ppp_ipv6_attach: name = %s, unit = %d\n", ifnet_name(ifp), ifnet_unit(ifp))); 119 ret = ifnet_attach_protocol(ifp, PF_INET 132 ppp_ipv6_detach(ifnet_t ifp, protocol_family_t protocol) argument 152 ppp_ipv6_ioctl(ifnet_t ifp, protocol_family_t protocol, u_long command, void* argument) argument 191 ppp_ipv6_input(ifnet_t ifp, protocol_family_t protocol, mbuf_t packet, char* header) argument 205 ppp_ipv6_preoutput(ifnet_t ifp, protocol_family_t protocol, mbuf_t *packet, const struct sockaddr *dest, void *route, char *frame_type, char *link_layer_dest) argument [all...] |
H A D | ppp_if.h | 95 int ppp_if_attachclient(u_short unit, void *host, ifnet_t *ifp); 96 void ppp_if_detachclient(ifnet_t ifp, void *host); 98 int ppp_if_input(ifnet_t ifp, mbuf_t m, u_int16_t proto, u_int16_t hdrlen); 99 int ppp_if_control(ifnet_t ifp, u_long cmd, void *data); 102 int ppp_if_send(ifnet_t ifp, mbuf_t m); 103 void ppp_if_error(ifnet_t ifp); 104 int ppp_if_xmit(ifnet_t ifp, mbuf_t m);
|
H A D | ppp_ip.c | 70 static errno_t ppp_ip_input(ifnet_t ifp, protocol_family_t protocol, 72 static errno_t ppp_ip_preoutput(ifnet_t ifp, protocol_family_t protocol, 75 static errno_t ppp_ip_ioctl(ifnet_t ifp, protocol_family_t protocol, 102 attach the PPPx interface ifp to the network protocol IP, 105 errno_t ppp_ip_attach(ifnet_t ifp, protocol_family_t protocol) argument 109 struct ppp_if *wan = (struct ppp_if *)ifnet_softc(ifp); 111 LOGDBG(ifp, ("ppp_ip_attach: name = %s, unit = %d\n", ifnet_name(ifp), ifnet_unit(ifp))); 121 ret = ifnet_attach_protocol(ifp, PF_INE 135 ppp_ip_detach(ifnet_t ifp, protocol_family_t protocol) argument 158 ppp_ip_ioctl(ifnet_t ifp, protocol_family_t protocol, u_long command, void* argument) argument 213 ppp_ip_input(ifnet_t ifp, protocol_family_t protocol, mbuf_t packet, char* header) argument 228 ppp_ip_preoutput(ifnet_t ifp, protocol_family_t protocol, mbuf_t *packet, const struct sockaddr *dest, void *route, char *frame_type, char *link_layer_dest) argument 265 ppp_ip_af_src_out(ifnet_t ifp, char *pkt) argument 278 ppp_ip_af_src_in(ifnet_t ifp, char *pkt) argument 291 ppp_ip_bootp_client_in(ifnet_t ifp, char *pkt) argument 313 ppp_ip_bootp_server_in(ifnet_t ifp, char *pkt) argument [all...] |
H A D | ppp_if.c | 87 static errno_t ppp_if_output(ifnet_t ifp, mbuf_t m); 88 static void ppp_if_if_free(ifnet_t ifp); 89 static errno_t ppp_if_ioctl(ifnet_t ifp, u_long cmd, void *data); 90 static int ppp_if_demux(ifnet_t ifp, mbuf_t m, char *frame_header, 92 static int ppp_if_add_proto(ifnet_t ifp, protocol_family_t protocol_family, 94 static int ppp_if_del_proto(ifnet_t ifp, protocol_family_t protocol_family); 96 static errno_t ppp_if_frameout(ifnet_t ifp, mbuf_t *m0, 100 static errno_t ppp_if_frameout(ifnet_t ifp, mbuf_t *m0, 104 static int ppp_if_detach(ifnet_t ifp); 106 static int ppp_if_set_bpf_tap(ifnet_t ifp, bpf_tap_mod 304 ppp_if_detach(ifnet_t ifp) argument 366 ppp_if_attachclient(u_short unit, void *host, ifnet_t *ifp) argument 384 ppp_if_detachclient(ifnet_t ifp, void *host) argument 414 ppp_if_set_bpf_tap(ifnet_t ifp, bpf_tap_mode mode, bpf_packet_func func) argument 504 log_mbuf(ifnet_t ifp, mbuf_t m, const char *msg) argument 520 ppp_if_input(ifnet_t ifp, mbuf_t m, u_int16_t proto, u_int16_t hdrlen) argument 720 ppp_if_if_free(ifnet_t ifp) argument 733 ppp_if_control(ifnet_t ifp, u_long cmd, void *data) argument 891 ppp_if_ioctl(ifnet_t ifp, u_long cmd, void *data) argument 995 ppp_if_output(ifnet_t ifp, mbuf_t m) argument 1116 ppp_if_add_proto(ifnet_t ifp, protocol_family_t protocol_family, const struct ifnet_demux_desc *demux_list, u_int32_t demux_count) argument 1137 ppp_if_del_proto(ifnet_t ifp, protocol_family_t protocol_family) argument 1148 ppp_if_demux(ifnet_t ifp, mbuf_t m, char *frame_header, protocol_family_t *protocol_family) argument 1180 ppp_if_frameout(ifnet_t ifp, mbuf_t *m0, const struct sockaddr *ndest, const char *edst, const char *ppp_type , u_int32_t *pre, u_int32_t *post ) argument 1246 ifnet_t ifp = (__typeof__(ifp))link->lk_ifnet; local 1268 ppp_if_send(ifnet_t ifp, mbuf_t m) argument 1365 ppp_if_xmit(ifnet_t ifp, mbuf_t m) argument 1437 ppp_if_error(ifnet_t ifp) argument [all...] |
/macosx-10.10.1/xnu-2782.1.97/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 if_name(ifp)); 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->if_snd.ifcq_dropcnt.packets; 149 #define DONTCOPY(fld) ifmd.ifmd_data.ifi_##fld = ifp 213 struct ifnet *ifp; variable in typeref:struct:ifnet 224 ifnet_reference(ifp); variable 227 ifnet_lock_shared(ifp); variable 229 ifnet_lock_done(ifp); variable 231 ifnet_release(ifp); variable 243 struct ifnet *ifp; variable in typeref:struct:ifnet 250 ifnet_lock_shared(ifp); variable 254 ifnet_lock_done(ifp); variable [all...] |
H A D | kpi_interface.c | 103 ifnet_kpi_free(ifnet_t ifp) argument 105 ifnet_detached_func detach_func = ifp->if_kpi_storage; 108 detach_func(ifp); 110 if (ifp->if_broadcast.length > sizeof (ifp->if_broadcast.u.buffer)) { 111 FREE(ifp->if_broadcast.u.ptr, M_IFADDR); 112 ifp->if_broadcast.u.ptr = NULL; 115 dlil_if_release(ifp); 156 struct ifnet *ifp = NULL; local 198 einit.uniqueid_len, &ifp); 377 ifnet_reference(ifnet_t ifp) argument 383 ifnet_release(ifnet_t ifp) argument 496 ifnet_awdl_check_eflags(ifnet_t ifp, u_int32_t *new_eflags, u_int32_t *mask) argument 585 ifnet_set_idle_flags_locked(ifnet_t ifp, u_int32_t new_flags, u_int32_t mask) argument 627 ifnet_set_idle_flags(ifnet_t ifp, u_int32_t new_flags, u_int32_t mask) argument 641 ifnet_idle_flags(ifnet_t ifp) argument 647 ifnet_set_link_quality(ifnet_t ifp, int quality) argument 668 ifnet_link_quality(ifnet_t ifp) argument 683 ifnet_defrouter_llreachinfo(ifnet_t ifp, int af, struct ifnet_llreach_info *iflri) argument 695 ifnet_inet_defrouter_llreachinfo(ifnet_t ifp, struct ifnet_llreach_info *iflri) argument 701 ifnet_inet6_defrouter_llreachinfo(ifnet_t ifp, struct ifnet_llreach_info *iflri) argument 707 ifnet_set_capabilities_supported(ifnet_t ifp, u_int32_t new_caps, u_int32_t mask) argument 728 ifnet_capabilities_supported(ifnet_t ifp) argument 735 ifnet_set_capabilities_enabled(ifnet_t ifp, u_int32_t new_caps, u_int32_t mask) argument 774 ifnet_capabilities_enabled(ifnet_t ifp) argument 1095 ifnet_set_baudrate(struct ifnet *ifp, u_int64_t baudrate) argument 1110 ifnet_baudrate(struct ifnet *ifp) argument 1116 ifnet_set_bandwidths(struct ifnet *ifp, struct if_bandwidths *output_bw, struct if_bandwidths *input_bw) argument 1133 ifnet_set_output_bandwidths(struct ifnet *ifp, struct if_bandwidths *bw, boolean_t locked) argument 1174 ifnet_set_input_bandwidths(struct ifnet *ifp, struct if_bandwidths *bw) argument 1198 ifnet_output_linkrate(struct ifnet *ifp) argument 1216 ifnet_input_linkrate(struct ifnet *ifp) argument 1222 ifnet_bandwidths(struct ifnet *ifp, struct if_bandwidths *output_bw, struct if_bandwidths *input_bw) argument 1237 ifnet_set_latencies(struct ifnet *ifp, struct if_latencies *output_lt, struct if_latencies *input_lt) argument 1253 ifnet_set_output_latencies(struct ifnet *ifp, struct if_latencies *lt, boolean_t locked) argument 1288 ifnet_set_input_latencies(struct ifnet *ifp, struct if_latencies *lt) argument 1312 ifnet_latencies(struct ifnet *ifp, struct if_latencies *output_lt, struct if_latencies *input_lt) argument 1327 ifnet_set_poll_params(struct ifnet *ifp, struct ifnet_poll_params *p) argument 1345 ifnet_poll_params(struct ifnet *ifp, struct ifnet_poll_params *p) argument 1363 ifnet_stat_increment(struct ifnet *ifp, const struct ifnet_stat_increment_param *s) argument 1395 ifnet_stat_increment_in(struct ifnet *ifp, u_int32_t packets_in, u_int32_t bytes_in, u_int32_t errors_in) argument 1414 ifnet_stat_increment_out(struct ifnet *ifp, u_int32_t packets_out, u_int32_t bytes_out, u_int32_t errors_out) argument 1433 ifnet_set_stat(struct ifnet *ifp, const struct ifnet_stats_param *s) argument 1459 ifnet_stat(struct ifnet *ifp, struct ifnet_stats_param *s) argument 1543 struct ifnet *ifp; local 1883 ifnet_get_multicast_list(ifnet_t ifp, ifmultiaddr_t **addresses) argument 1934 struct ifnet *ifp; local 1994 struct ifnet *ifp; local 2067 ifnet_transmit_burst_start(ifnet_t ifp, mbuf_t pkt) argument 2090 ifnet_transmit_burst_end(ifnet_t ifp, mbuf_t pkt) argument 2279 struct ifnet *ifp; local 2488 ifnet_get_local_ports_extended(ifnet_t ifp, protocol_family_t protocol, u_int32_t flags, u_int8_t *bitfield) argument 2526 ifnet_get_local_ports(ifnet_t ifp, u_int8_t *bitfield) argument 2534 ifnet_notice_node_presence(ifnet_t ifp, struct sockaddr* sa, int32_t rssi, int lqm, int npm, u_int8_t srvinfo[48]) argument 2549 ifnet_notice_node_absence(ifnet_t ifp, struct sockaddr* sa) argument 2563 ifnet_notice_master_elected(ifnet_t ifp) argument 2573 ifnet_tx_compl_status(ifnet_t ifp, mbuf_t m, tx_compl_val_t val) argument 2581 ifnet_report_issues(ifnet_t ifp, u_int8_t modid[IFNET_MODIDLEN], u_int8_t info[IFNET_MODARGLEN]) argument 2592 ifnet_set_delegate(ifnet_t ifp, ifnet_t delegated_ifp) argument 2643 ifnet_get_delegate(ifnet_t ifp, ifnet_t *pdelegated_ifp) argument 2667 ifnet_get_ipsec_offload_frames(ifnet_t ifp, struct ipsec_offload_frame *frames_array, u_int32_t frames_array_count, size_t frame_data_offset, u_int32_t *used_frames_count) argument [all...] |
H A D | dlil.c | 157 struct ifnet *ifp; member in struct:if_proto 321 static int dlil_event_internal(struct ifnet *ifp, struct kev_msg *msg); 709 #define DLIL_INPUT_CHECK(m, ifp) { \ 711 if (_rcvif == NULL || (ifp != lo_ifp && _rcvif != ifp) || \ 772 find_attached_proto(struct ifnet *ifp, u_int32_t protocol_family) argument 777 ifnet_lock_assert(ifp, IFNET_LCK_ASSERT_OWNED); 779 if (ifp->if_proto_hash != NULL) 780 proto = SLIST_FIRST(&ifp->if_proto_hash[i]); 797 extern void if_rtproto_del(struct ifnet *ifp, in 803 struct ifnet *ifp = proto->ifp; local 846 ifnet_lock_assert(struct ifnet *ifp, ifnet_lock_assert_t what) argument 878 ifnet_lock_shared(struct ifnet *ifp) argument 884 ifnet_lock_exclusive(struct ifnet *ifp) argument 890 ifnet_lock_done(struct ifnet *ifp) argument 897 if_inet6data_lock_shared(struct ifnet *ifp) argument 903 if_inet6data_lock_exclusive(struct ifnet *ifp) argument 909 if_inet6data_lock_done(struct ifnet *ifp) argument 937 dlil_ifp_proto_count(struct ifnet * ifp) argument 957 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 993 dlil_alloc_local_stats(struct ifnet *ifp) argument 1072 dlil_create_input_thread(ifnet_t ifp, struct dlil_threading_info *inp) argument 1168 struct ifnet *ifp; local 1519 if_flt_monitor_busy(struct ifnet *ifp) argument 1528 if_flt_monitor_unbusy(struct ifnet *ifp) argument 1534 if_flt_monitor_enter(struct ifnet *ifp) argument 1547 if_flt_monitor_leave(struct ifnet *ifp) argument 1561 dlil_attach_filter(struct ifnet *ifp, const struct iff_filter *if_filter, interface_filter_t *filter_ref, u_int32_t flags) argument 1634 ifnet_t ifp = NULL; local 1802 struct ifnet *ifp = inp->ifp; local 1879 struct ifnet *ifp = inp->ifp; local 2121 dlil_rxpoll_set_params(struct ifnet *ifp, struct ifnet_poll_params *p, boolean_t locked) argument 2235 dlil_rxpoll_get_params(struct ifnet *ifp, struct ifnet_poll_params *p) argument 2258 ifnet_input(struct ifnet *ifp, struct mbuf *m_head, const struct ifnet_stat_increment_param *s) argument 2265 ifnet_input_extended(struct ifnet *ifp, struct mbuf *m_head, struct mbuf *m_tail, const struct ifnet_stat_increment_param *s) argument 2272 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 2461 ifnet_start_common(struct ifnet *ifp, int resetfc) argument 2486 ifnet_start(struct ifnet *ifp) argument 2495 struct ifnet *ifp = v; local 2587 ifnet_set_start_cycle(struct ifnet *ifp, struct timespec *ts) argument 2600 ifnet_poll(struct ifnet *ifp) argument 2618 struct ifnet *ifp = v; local 2748 ifnet_set_poll_cycle(struct ifnet *ifp, struct timespec *ts) argument 2761 ifnet_purge(struct ifnet *ifp) argument 2785 ifnet_update_rcv(struct ifnet *ifp, cqev_t ev) argument 2799 ifnet_set_output_sched_model(struct ifnet *ifp, u_int32_t model) argument 2823 ifnet_set_sndq_maxlen(struct ifnet *ifp, u_int32_t maxqlen) argument 2836 ifnet_get_sndq_maxlen(struct ifnet *ifp, u_int32_t *maxqlen) argument 2849 ifnet_get_sndq_len(struct ifnet *ifp, u_int32_t *pkts) argument 2865 ifnet_get_service_class_sndq_len(struct ifnet *ifp, mbuf_svc_class_t sc, u_int32_t *pkts, u_int32_t *bytes) argument 2882 ifnet_set_rcvq_maxlen(struct ifnet *ifp, u_int32_t maxqlen) argument 2905 ifnet_get_rcvq_maxlen(struct ifnet *ifp, u_int32_t *maxqlen) argument 2922 ifnet_enqueue(struct ifnet *ifp, struct mbuf *m) argument 2956 ifnet_dequeue(struct ifnet *ifp, struct mbuf **mp) argument 2973 ifnet_dequeue_service_class(struct ifnet *ifp, mbuf_svc_class_t sc, struct mbuf **mp) argument 2991 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 3009 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 3028 ifnet_framer_stub(struct ifnet *ifp, struct mbuf **m, const struct sockaddr *dest, const char *dest_linkaddr, const char *frame_type, u_int32_t *pre, u_int32_t *post) argument 3041 dlil_interface_filters_input(struct ifnet *ifp, struct mbuf **m_p, char **frame_header_p, protocol_family_t protocol_family) argument 3087 dlil_interface_filters_output(struct ifnet *ifp, struct mbuf **m_p, protocol_family_t protocol_family) argument 3186 dlil_input_stats_sync(struct ifnet *ifp, struct dlil_threading_info *inp) argument 3252 dlil_input_packet_list(struct ifnet *ifp, struct mbuf *m) argument 3259 dlil_input_packet_list_extended(struct ifnet *ifp, struct mbuf *m, u_int32_t cnt, ifnet_model_t mode) argument 3272 ifnet_t ifp = ifp_param; local 3460 if_mcasts_update(struct ifnet *ifp) argument 3477 dlil_event_internal(struct ifnet *ifp, struct kev_msg *event) argument 3546 ifnet_event(ifnet_t ifp, struct kern_event_msg *event) argument 3615 ifp_inc_traffic_class_in(struct ifnet *ifp, struct mbuf *m) argument 3653 ifp_inc_traffic_class_out(struct ifnet *ifp, struct mbuf *m) argument 3703 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 4000 ifnet_ioctl(ifnet_t ifp, protocol_family_t proto_fam, u_long ioctl_code, void *ioctl_arg) argument 4108 dlil_set_bpf_tap(ifnet_t ifp, bpf_tap_mode mode, bpf_packet_func callback) argument 4124 dlil_resolve_multi(struct ifnet *ifp, const struct sockaddr *proto_addr, struct sockaddr *ll_addr, size_t ll_len) argument 4164 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 4308 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 4421 ifnet_lookup(struct ifnet *ifp) argument 4438 ifnet_is_attached(struct ifnet *ifp, int refio) argument 4454 ifnet_decr_iorefcnt(struct ifnet *ifp) argument 4497 dlil_if_ref(struct ifnet *ifp) argument 4518 dlil_if_free(struct ifnet *ifp) argument 4543 struct ifnet *ifp = proto->ifp; local 4599 ifnet_attach_protocol(ifnet_t ifp, protocol_family_t protocol, const struct ifnet_attach_proto_param *proto_details) argument 4655 ifnet_attach_protocol_v2(ifnet_t ifp, protocol_family_t protocol, const struct ifnet_attach_proto_param_v2 *proto_details) argument 4711 ifnet_detach_protocol(ifnet_t ifp, protocol_family_t proto_family) argument 4777 ifproto_media_input_v1(struct ifnet *ifp, protocol_family_t protocol, struct mbuf *packet, char *header) argument 4785 ifproto_media_input_v2(struct ifnet *ifp, protocol_family_t protocol, struct mbuf *packet) argument 4794 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 4804 ifproto_media_event(struct ifnet *ifp, protocol_family_t protocol, const struct kev_msg *event) argument 4811 ifproto_media_ioctl(struct ifnet *ifp, protocol_family_t protocol, unsigned long command, void *argument) argument 4819 ifproto_media_resolve_multi(ifnet_t ifp, const struct sockaddr *proto_addr, struct sockaddr_dl *out_ll, size_t ll_len) argument 4827 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 4838 ifnet_attach(ifnet_t ifp, const struct sockaddr_dl *ll_addr) argument 5240 dlil_alloc_lladdr(struct ifnet *ifp, const struct sockaddr_dl *ll_addr) argument 5341 if_purgeaddrs(struct ifnet *ifp) argument 5352 ifnet_detach(ifnet_t ifp) argument 5469 ifnet_detaching_enqueue(struct ifnet *ifp) argument 5482 struct ifnet *ifp; local 5502 struct ifnet *ifp; local 5543 ifnet_detach_final(struct ifnet *ifp) argument 5807 ifp_if_output(struct ifnet *ifp, struct mbuf *m) argument 5815 ifp_if_start(struct ifnet *ifp) argument 5821 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 5836 ifp_if_ctl(struct ifnet *ifp, ifnet_ctl_cmd_t cmd, u_int32_t arglen, void *arg) argument 5843 ifp_if_demux(struct ifnet *ifp, struct mbuf *m, char *fh, protocol_family_t *pf) argument 5851 ifp_if_add_proto(struct ifnet *ifp, protocol_family_t pf, const struct ifnet_demux_desc *da, u_int32_t dc) argument 5859 ifp_if_del_proto(struct ifnet *ifp, protocol_family_t pf) argument 5866 ifp_if_check_multi(struct ifnet *ifp, const struct sockaddr *sa) argument 5873 ifp_if_framer(struct ifnet *ifp, struct mbuf **m, const struct sockaddr *sa, const char *ll, const char *t) argument 5881 ifp_if_framer_extended(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 5898 ifp_if_ioctl(struct ifnet *ifp, unsigned long cmd, void *arg) argument 5905 ifp_if_set_bpf_tap(struct ifnet *ifp, bpf_tap_mode tm, bpf_packet_func f) argument 5913 ifp_if_free(struct ifnet *ifp) argument 5919 ifp_if_event(struct ifnet *ifp, const struct kev_msg *e) argument 5925 dlil_if_acquire(u_int32_t family, const void *uniqueid, size_t uniqueid_len, struct ifnet **ifp) argument 6057 dlil_if_release(ifnet_t ifp) argument 6102 dlil_proto_unplumb_all(struct ifnet *ifp) argument 6120 ifp_src_route_copyout(struct ifnet *ifp, struct route *dst) argument 6131 ifp_src_route_copyin(struct ifnet *ifp, struct route *src) argument 6146 ifp_src_route6_copyout(struct ifnet *ifp, struct route_in6 *dst) argument 6158 ifp_src_route6_copyin(struct ifnet *ifp, struct route_in6 *src) argument 6174 ifnet_cached_rtlookup_inet(struct ifnet *ifp, struct in_addr src_ip) argument 6211 ifnet_cached_rtlookup_inet6(struct ifnet *ifp, struct in6_addr *src_ip6) argument 6249 if_lqm_update(struct ifnet *ifp, int lqm) argument 6282 struct ifnet *ifp; local 6467 dlil_node_present(struct ifnet *ifp, struct sockaddr *sa, int32_t rssi, int lqm, int npm, u_int8_t srvinfo[48]) argument 6493 dlil_node_absent(struct ifnet *ifp, struct sockaddr *sa) argument 6563 dlil_report_issues(struct ifnet *ifp, u_int8_t modid[DLIL_MODIDLEN], u_int8_t info[DLIL_MODARGLEN]) argument 6587 ifnet_getset_opportunistic(ifnet_t ifp, u_long cmd, struct ifreq *ifr, struct proc *p) argument 6642 ifnet_get_throttle(struct ifnet *ifp, u_int32_t *level) argument 6663 ifnet_set_throttle(struct ifnet *ifp, u_int32_t level) argument 6702 ifnet_getset_log(ifnet_t ifp, u_long cmd, struct ifreq *ifr, struct proc *p) argument 6746 ifnet_set_log(struct ifnet *ifp, int32_t level, uint32_t flags, int32_t category, int32_t subcategory) argument 6803 ifnet_get_log(struct ifnet *ifp, int32_t *level, uint32_t *flags, int32_t *category, int32_t *subcategory) argument 6819 ifnet_notify_address(struct ifnet *ifp, int af) argument 6838 ifnet_flowid(struct ifnet *ifp, uint32_t *flowid) argument 6853 ifnet_disable_output(struct ifnet *ifp) argument 6873 ifnet_enable_output(struct ifnet *ifp) argument 6890 struct ifnet *ifp; local 6918 ifnet_fc_add(struct ifnet *ifp) argument 6972 struct ifnet *ifp; local 7013 ifnet_calc_flowhash(struct ifnet *ifp) argument 7045 dlil_output_cksum_dbg(struct ifnet *ifp, struct mbuf *m, uint32_t hoff, protocol_family_t pf) argument 7084 dlil_input_cksum_dbg(struct ifnet *ifp, struct mbuf *m, char *frame_header, protocol_family_t pf) argument [all...] |
H A D | if.c | 155 void if_rtproto_del(struct ifnet *ifp, int protocol); 278 if_attach_ifa(struct ifnet *ifp, struct ifaddr *ifa) argument 280 if_attach_ifa_common(ifp, ifa, 0); 284 if_attach_link_ifa(struct ifnet *ifp, struct ifaddr *ifa) argument 286 if_attach_ifa_common(ifp, ifa, 1); 290 if_attach_ifa_common(struct ifnet *ifp, struct ifaddr *ifa, int link) argument 292 ifnet_lock_assert(ifp, IFNET_LCK_ASSERT_EXCLUSIVE); 295 if (ifa->ifa_ifp != ifp) { 296 panic("%s: Mismatch ifa_ifp=%p != ifp=%p", __func__, 297 ifa->ifa_ifp, ifp); 322 if_detach_ifa(struct ifnet *ifp, struct ifaddr *ifa) argument 328 if_detach_link_ifa(struct ifnet *ifp, struct ifaddr *ifa) argument 334 if_detach_ifa_common(struct ifnet *ifp, struct ifaddr *ifa, int link) argument 532 struct ifnet *ifp; local 765 ifa_ifpgetprimary(struct ifnet *ifp, int family) argument 791 struct ifnet *ifp; local 841 struct ifnet *ifp; local 881 struct ifnet *ifp; local 953 struct ifnet *ifp; local 1072 ifaof_ifpforaddr(const struct sockaddr *addr, struct ifnet *ifp) argument 1171 struct ifnet *ifp; local 1208 if_updown( struct ifnet *ifp, int up) argument 1274 if_down( struct ifnet *ifp) argument 1287 if_up( struct ifnet *ifp) argument 1299 if_qflush(struct ifnet *ifp, int ifq_locked) argument 1322 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 1364 struct ifnet *ifp; local 1497 ifioctl_ifdesc(struct ifnet *ifp, u_long cmd, caddr_t data, struct proc *p) argument 1549 ifioctl_linkparams(struct ifnet *ifp, u_long cmd, caddr_t data, struct proc *p) argument 1633 ifioctl_qstats(struct ifnet *ifp, u_long cmd, caddr_t data) argument 1662 ifioctl_throttle(struct ifnet *ifp, u_long cmd, caddr_t data, struct proc *p) argument 1713 struct ifnet *ifp = NULL; local 2003 struct ifnet *ifp; local 2527 ifnet_set_promiscuous( ifnet_t ifp, int pswitch) argument 2582 struct ifnet *ifp = NULL; local 2704 if_allmulti(struct ifnet *ifp, int onswitch) argument 2882 if_attach_ifma(struct ifnet *ifp, struct ifmultiaddr *ifma, int anon) argument 2918 if_detach_ifma(struct ifnet *ifp, struct ifmultiaddr *ifma, int anon) argument 2994 if_addmulti_doesexist(struct ifnet *ifp, const struct sockaddr *sa, struct ifmultiaddr **retifma, int anon) argument 3103 if_addmulti(struct ifnet *ifp, const struct sockaddr *sa, struct ifmultiaddr **retifma) argument 3115 if_addmulti_anon(struct ifnet *ifp, const struct sockaddr *sa, struct ifmultiaddr **retifma) argument 3144 if_addmulti_common(struct ifnet *ifp, const struct sockaddr *sa, struct ifmultiaddr **retifma, int anon) argument 3304 if_delmulti(struct ifnet *ifp, const struct sockaddr *sa) argument 3325 if_delmulti_anon(struct ifnet *ifp, const struct sockaddr *sa) argument 3336 if_delmulti_common(struct ifmultiaddr *ifma, struct ifnet *ifp, const struct sockaddr *sa, int anon) argument 3430 struct ifnet **ifp; local 3464 struct ifnet *ifp = arg; local 3497 if_rtproto_del(struct ifnet *ifp, int protocol) argument 3513 struct ifnet *ifp = arg; local 3536 if_rtmtu_update(struct ifnet *ifp) argument 3553 if_data_internal_to_if_data(struct ifnet *ifp, const struct if_data_internal *if_data_int, struct if_data *if_data) argument 3611 if_data_internal_to_if_data64(struct ifnet *ifp, const struct if_data_internal *if_data_int, struct if_data64 *if_data64) argument 3661 if_copy_traffic_class(struct ifnet *ifp, struct if_traffic_class *if_tc) argument 3695 if_copy_data_extended(struct ifnet *ifp, struct if_data_extended *if_de) argument 3712 if_copy_packet_stats(struct ifnet *ifp, struct if_packet_stats *if_ps) argument 3753 if_copy_rxpoll_stats(struct ifnet *ifp, struct if_rxpoll_stats *if_rs) argument [all...] |
H A D | ether_inet_pr_module.c | 114 ether_inet_arp_input(struct ifnet *ifp, struct mbuf *m) argument 156 arp_llreach_set_reachable(ifp, LLADDR(&sender_hw), ETHER_ADDR_LEN); 158 arp_ip_handle_input(ifp, ntohs(ea->arp_op), &sender_hw, &sender_ip, 169 ether_inet_input(ifnet_t ifp, protocol_family_t protocol_family, argument 172 #pragma unused(ifp, protocol_family) 183 * Trust the ifp in the mbuf, rather than ifproto's 185 * a dlil_input_packet_list() using an ifp that is 227 ether_inet_pre_output(ifnet_t ifp, protocol_family_t protocol_family, argument 236 if ((ifp->if_flags & (IFF_UP|IFF_RUNNING)) != (IFF_UP|IFF_RUNNING)) 248 result = arp_lookup_ip(ifp, 281 ether_inet_resolve_multi(ifnet_t ifp, const struct sockaddr *proto_addr, struct sockaddr_dl *out_ll, size_t ll_len) argument 312 ether_inet_prmod_ioctl(ifnet_t ifp, protocol_family_t protocol_family, u_long command, void *data) argument 373 ether_inet_event(ifnet_t ifp, protocol_family_t protocol, const struct kev_msg *event) argument 398 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 540 ether_attach_inet(struct ifnet *ifp, protocol_family_t proto_family) argument 576 ether_detach_inet(struct ifnet *ifp, protocol_family_t proto_family) argument [all...] |
/macosx-10.10.1/dcerpc-61/dcerpc/idl_compiler/ |
H A D | ifspec.h | 100 AST_interface_n_t *ifp, 108 AST_interface_n_t *ifp
|
H A D | ifspemts.c | 110 AST_interface_n_t *ifp, 116 sprintf(retval, "%s_v%ld_%ld_%c_ifspec", BE_get_name(ifp->name), 117 (ifp->version%65536), (ifp->version/65536), 131 AST_interface_n_t *ifp 138 BE_get_name(ifp->name), (ifp->version%65536), (ifp->version/65536) ); 140 for( p_export = ifp->exports; p_export != NULL; p_export = p_export->next ) 162 AST_interface_n_t *ifp, 108 BE_ifspec_name( AST_interface_n_t *ifp, BE_output_k_t kind ) argument 159 CSPELL_interface_def( FILE *fid, AST_interface_n_t *ifp, BE_output_k_t kind, boolean generate_mepv ) argument [all...] |
H A D | hdgen.h | 100 AST_interface_n_t *ifp, /* Ptr to AST interface node */ 119 void BE_gen_orpc_defs(FILE * fid, AST_interface_n_t * ifp, enum orpc_class_def_type deftype);
|
/macosx-10.10.1/Heimdal-398.1.2/lib/roken/ |
H A D | getifaddrs_w32.c | 106 struct ifaddrs *ifp; local 108 ifp = malloc(sizeof(*ifp)); 109 if (ifp == NULL) 112 ZeroMemory(ifp, sizeof(*ifp)); 114 ifp->ifa_next = NULL; 115 ifp->ifa_name = NULL; 116 ifp->ifa_flags = il[i].iiFlags; 117 ifp 142 rk_freeifaddrs(struct ifaddrs *ifp) argument [all...] |
/macosx-10.10.1/IOFireWireIP-226.2/KernelHeaders/BSD/ |
H A D | firewire.h | 79 int firewire_attach_inet(ifnet_t ifp, protocol_family_t protocol_family); 80 int firewire_attach_inet6(ifnet_t ifp, __unused protocol_family_t protocol_family); 82 int firewire_ifattach(register ifnet_t ifp); 83 void firewire_ifdetach(register ifnet_t ifp);
|
/macosx-10.10.1/ppp-786.1.1/Drivers/PPPoE/PPPoE-extension/ |
H A D | pppoe_dlil.h | 32 int pppoe_dlil_detach(ifnet_t ifp); 33 int pppoe_dlil_output(ifnet_t ifp, mbuf_t m, u_int8_t *to, u_int16_t typ);
|
H A D | pppoe_dlil.c | 51 ifnet_t ifp; member in struct:pppoe_if 57 static errno_t pppoe_dlil_input(ifnet_t ifp, protocol_family_t protocol, 59 static errno_t pppoe_dlil_pre_output(ifnet_t ifp, protocol_family_t protocol, 62 static void pppoe_dlil_event(ifnet_t ifp, protocol_family_t protocol, 64 static errno_t pppoe_dlil_ioctl(ifnet_t ifp, protocol_family_t protocol, 101 returns 0 and the ifp when successfully attached 106 ifnet_t ifp; local 116 *ifpp = pppoeif->ifp; 129 if (ifnet_find_by_name(ifname, &ifp)) { 153 ret = ifnet_attach_protocol(ifp, PF_PP 177 pppoe_dlil_detach(ifnet_t ifp) argument 222 pppoe_dlil_pre_output(ifnet_t ifp, protocol_family_t protocol, mbuf_t *packet, const struct sockaddr *dest, void *route, char *frame_type, char *link_layer_dest) argument 247 pppoe_dlil_event(ifnet_t ifp, protocol_family_t protocol, const struct kev_msg *event) argument 268 pppoe_dlil_ioctl(ifnet_t ifp, protocol_family_t protocol, u_long command, void* argument) argument 282 pppoe_dlil_input(ifnet_t ifp, protocol_family_t protocol, mbuf_t packet, char* header) argument 311 pppoe_dlil_output(ifnet_t ifp, mbuf_t m, u_int8_t *to, u_int16_t typ) argument [all...] |
/macosx-10.10.1/ruby-106/ruby/sample/ |
H A D | mpart.rb | 19 for i in ifp = open(basename) 22 ifp.close 26 for i in ifp = open(basename) 34 if line >= lines and !ifp.eof? 44 ifp.close
|
/macosx-10.10.1/xnu-2782.1.97/bsd/netinet6/ |
H A D | scope6.c | 84 #define SID(ifp) &IN6_IFEXTRA(ifp)->scope6_id 94 scope6_ifattach(struct ifnet *ifp) argument 98 VERIFY(IN6_IFEXTRA(ifp) != NULL); 99 if_inet6data_lock_exclusive(ifp); 100 sid = SID(ifp); 106 sid->s6id_list[IPV6_ADDR_SCOPE_INTFACELOCAL] = ifp->if_index; 107 sid->s6id_list[IPV6_ADDR_SCOPE_LINKLOCAL] = ifp->if_index; 113 if_inet6data_lock_done(ifp); 171 in6_addr2scopeid(struct ifnet *ifp, struc argument 214 struct ifnet *ifp; local 317 scope6_setdefault(struct ifnet *ifp) argument 367 in6_setscope(struct in6_addr *in6, struct ifnet *ifp, u_int32_t *ret_id) argument [all...] |
H A D | in6_ifattach.c | 128 __unused struct ifnet *ifp, 250 in6_iid_from_hw(struct ifnet *ifp, struct in6_addr *in6) argument 262 ifnet_lock_shared(ifp); 263 ifa = ifp->if_lladdr; 266 ifnet_lock_done(ifp); 270 ifnet_lock_done(ifp); 277 switch (ifp->if_type) { 391 * ifp - primary EUI64 source 401 struct ifnet *ifp; local 419 TAILQ_FOREACH(ifp, 127 get_rand_iid( __unused struct ifnet *ifp, struct in6_addr *in6) argument 459 in6_ifattach_linklocal(struct ifnet *ifp, struct in6_aliasreq *ifra) argument 541 in6_ifattach_loopback( struct ifnet *ifp) argument 601 in6_nigroup( struct ifnet *ifp, const char *name, int namelen, struct in6_addr *in6) argument 650 in6_domifattach(struct ifnet *ifp) argument 683 in6_ifattach_prelim(struct ifnet *ifp) argument 774 in6_ifattach_aliasreq(struct ifnet *ifp, struct ifnet *altifp, struct in6_aliasreq *ifra0) argument 873 in6_ifattach_llstartreq(struct ifnet *ifp, struct in6_llstartreq *llsr) argument 959 in6_ifdetach(struct ifnet *ifp) argument 1141 in6_iid_mktmp(struct ifnet *ifp, u_int8_t *retbuf, const u_int8_t *baseid, int generate) argument [all...] |
/macosx-10.10.1/bind9-45.101/bind9/bin/named/ |
H A D | interfacemgr.c | 184 ns_interface_t *ifp; local 188 ifp = isc_mem_get(mgr->mctx, sizeof(*ifp)); 189 if (ifp == NULL) 191 ifp->mgr = NULL; 192 ifp->generation = mgr->generation; 193 ifp->addr = *addr; 194 ifp->flags = 0; 195 strncpy(ifp->name, name, sizeof(ifp 246 ns_interface_listenudp(ns_interface_t *ifp) argument 291 ns_interface_accepttcp(ns_interface_t *ifp) argument 358 ns_interface_t *ifp = NULL; local 391 ns_interface_shutdown(ns_interface_t *ifp) argument 397 ns_interface_destroy(ns_interface_t *ifp) argument 452 ns_interface_t *ifp; local 466 ns_interface_t *ifp, *next; local 594 ns_interface_t *ifp; local [all...] |
/macosx-10.10.1/xnu-2782.1.97/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...] |
/macosx-10.10.1/cups-408/cups/cups/ |
H A D | getifaddrs.c | 42 struct ifreq *ifp; /* Interface data */ local 101 ifp = (struct ifreq *)bufptr; 102 ifpsize = sizeof(ifp->ifr_name) + sockaddr_len(&(ifp->ifr_addr)); 108 memcpy(request.ifr_name, ifp->ifr_name, sizeof(ifp->ifr_name)); 138 temp->ifa_name = strdup(ifp->ifr_name); 140 if ((temp->ifa_addr = calloc(1, sockaddr_len(&(ifp->ifr_addr)))) != NULL) 141 memcpy(temp->ifa_addr, &(ifp->ifr_addr), sockaddr_len(&(ifp [all...] |