Searched refs:ifp (Results 1 - 25 of 209) sorted by relevance

123456789

/macosx-10.9.5/ppp-727.90.1/Family/
H A Dppp_ip.h32 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 Dppp_ipv6.h32 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 Dppp_ipv6.c68 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 Dppp_if.h95 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 Dppp_ip.c70 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 Dppp_if.c86 static errno_t ppp_if_output(ifnet_t ifp, mbuf_t m);
87 static void ppp_if_if_free(ifnet_t ifp);
88 static errno_t ppp_if_ioctl(ifnet_t ifp, u_long cmd, void *data);
89 static int ppp_if_demux(ifnet_t ifp, mbuf_t m, char *frame_header,
91 static int ppp_if_add_proto(ifnet_t ifp, protocol_family_t protocol_family,
93 static int ppp_if_del_proto(ifnet_t ifp, protocol_family_t protocol_family);
95 static errno_t ppp_if_frameout(ifnet_t ifp, mbuf_t *m0,
99 static errno_t ppp_if_frameout(ifnet_t ifp, mbuf_t *m0,
103 static int ppp_if_detach(ifnet_t ifp);
105 static int ppp_if_set_bpf_tap(ifnet_t ifp, bpf_tap_mod
301 ppp_if_detach(ifnet_t ifp) argument
363 ppp_if_attachclient(u_short unit, void *host, ifnet_t *ifp) argument
381 ppp_if_detachclient(ifnet_t ifp, void *host) argument
411 ppp_if_set_bpf_tap(ifnet_t ifp, bpf_tap_mode mode, bpf_packet_func func) argument
501 log_mbuf(ifnet_t ifp, mbuf_t m, const char *msg) argument
517 ppp_if_input(ifnet_t ifp, mbuf_t m, u_int16_t proto, u_int16_t hdrlen) argument
717 ppp_if_if_free(ifnet_t ifp) argument
730 ppp_if_control(ifnet_t ifp, u_long cmd, void *data) argument
888 ppp_if_ioctl(ifnet_t ifp, u_long cmd, void *data) argument
980 ppp_if_output(ifnet_t ifp, mbuf_t m) argument
1101 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
1122 ppp_if_del_proto(ifnet_t ifp, protocol_family_t protocol_family) argument
1133 ppp_if_demux(ifnet_t ifp, mbuf_t m, char *frame_header, protocol_family_t *protocol_family) argument
1165 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
1231 ifnet_t ifp = (__typeof__(ifp))link->lk_ifnet; local
1253 ppp_if_send(ifnet_t ifp, mbuf_t m) argument
1350 ppp_if_xmit(ifnet_t ifp, mbuf_t m) argument
1422 ppp_if_error(ifnet_t ifp) argument
[all...]
/macosx-10.9.5/xnu-2422.115.4/bsd/net/
H A Dether_if_module.h34 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 Dif_mib.c112 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 Dkpi_interface.c102 ifnet_kpi_free(ifnet_t ifp) argument
104 ifnet_detached_func detach_func = ifp->if_kpi_storage;
107 detach_func(ifp);
109 if (ifp->if_broadcast.length > sizeof (ifp->if_broadcast.u.buffer)) {
110 FREE(ifp->if_broadcast.u.ptr, M_IFADDR);
111 ifp->if_broadcast.u.ptr = NULL;
114 dlil_if_release(ifp);
155 struct ifnet *ifp = NULL; local
197 einit.uniqueid_len, &ifp);
374 ifnet_reference(ifnet_t ifp) argument
380 ifnet_release(ifnet_t ifp) argument
490 ifnet_awdl_check_eflags(ifnet_t ifp, u_int32_t *new_eflags, u_int32_t *mask) argument
542 ifnet_set_idle_flags_locked(ifnet_t ifp, u_int32_t new_flags, u_int32_t mask) argument
584 ifnet_set_idle_flags(ifnet_t ifp, u_int32_t new_flags, u_int32_t mask) argument
598 ifnet_idle_flags(ifnet_t ifp) argument
604 ifnet_set_link_quality(ifnet_t ifp, int quality) argument
625 ifnet_link_quality(ifnet_t ifp) argument
640 ifnet_defrouter_llreachinfo(ifnet_t ifp, int af, struct ifnet_llreach_info *iflri) argument
652 ifnet_inet_defrouter_llreachinfo(ifnet_t ifp, struct ifnet_llreach_info *iflri) argument
658 ifnet_inet6_defrouter_llreachinfo(ifnet_t ifp, struct ifnet_llreach_info *iflri) argument
664 ifnet_set_capabilities_supported(ifnet_t ifp, u_int32_t new_caps, u_int32_t mask) argument
685 ifnet_capabilities_supported(ifnet_t ifp) argument
692 ifnet_set_capabilities_enabled(ifnet_t ifp, u_int32_t new_caps, u_int32_t mask) argument
731 ifnet_capabilities_enabled(ifnet_t ifp) argument
1052 ifnet_set_baudrate(struct ifnet *ifp, u_int64_t baudrate) argument
1067 ifnet_baudrate(struct ifnet *ifp) argument
1073 ifnet_set_bandwidths(struct ifnet *ifp, struct if_bandwidths *output_bw, struct if_bandwidths *input_bw) argument
1090 ifnet_set_output_bandwidths(struct ifnet *ifp, struct if_bandwidths *bw, boolean_t locked) argument
1131 ifnet_set_input_bandwidths(struct ifnet *ifp, struct if_bandwidths *bw) argument
1155 ifnet_output_linkrate(struct ifnet *ifp) argument
1173 ifnet_input_linkrate(struct ifnet *ifp) argument
1179 ifnet_bandwidths(struct ifnet *ifp, struct if_bandwidths *output_bw, struct if_bandwidths *input_bw) argument
1194 ifnet_set_latencies(struct ifnet *ifp, struct if_latencies *output_lt, struct if_latencies *input_lt) argument
1210 ifnet_set_output_latencies(struct ifnet *ifp, struct if_latencies *lt, boolean_t locked) argument
1245 ifnet_set_input_latencies(struct ifnet *ifp, struct if_latencies *lt) argument
1269 ifnet_latencies(struct ifnet *ifp, struct if_latencies *output_lt, struct if_latencies *input_lt) argument
1284 ifnet_set_poll_params(struct ifnet *ifp, struct ifnet_poll_params *p) argument
1302 ifnet_poll_params(struct ifnet *ifp, struct ifnet_poll_params *p) argument
1320 ifnet_stat_increment(struct ifnet *ifp, const struct ifnet_stat_increment_param *s) argument
1352 ifnet_stat_increment_in(struct ifnet *ifp, u_int32_t packets_in, u_int32_t bytes_in, u_int32_t errors_in) argument
1371 ifnet_stat_increment_out(struct ifnet *ifp, u_int32_t packets_out, u_int32_t bytes_out, u_int32_t errors_out) argument
1390 ifnet_set_stat(struct ifnet *ifp, const struct ifnet_stats_param *s) argument
1416 ifnet_stat(struct ifnet *ifp, struct ifnet_stats_param *s) argument
1500 struct ifnet *ifp; local
1840 ifnet_get_multicast_list(ifnet_t ifp, ifmultiaddr_t **addresses) argument
1891 struct ifnet *ifp; local
1951 struct ifnet *ifp; local
2024 ifnet_transmit_burst_start(ifnet_t ifp, mbuf_t pkt) argument
2047 ifnet_transmit_burst_end(ifnet_t ifp, mbuf_t pkt) argument
2236 struct ifnet *ifp; local
2445 ifnet_get_local_ports_extended(ifnet_t ifp, protocol_family_t protocol, u_int32_t wildcardok, u_int8_t *bitfield) argument
2474 ifnet_get_local_ports(ifnet_t ifp, u_int8_t *bitfield) argument
2480 ifnet_notice_node_presence(ifnet_t ifp, struct sockaddr* sa, int32_t rssi, int lqm, int npm, u_int8_t srvinfo[48]) argument
2495 ifnet_notice_node_absence(ifnet_t ifp, struct sockaddr* sa) argument
2509 ifnet_notice_master_elected(ifnet_t ifp) argument
2519 ifnet_tx_compl_status(ifnet_t ifp, mbuf_t m, tx_compl_val_t val) argument
2527 ifnet_report_issues(ifnet_t ifp, u_int8_t modid[IFNET_MODIDLEN], u_int8_t info[IFNET_MODARGLEN]) argument
2538 ifnet_set_delegate(ifnet_t ifp, ifnet_t delegated_ifp) argument
2587 ifnet_get_delegate(ifnet_t ifp, ifnet_t *pdelegated_ifp) argument
[all...]
H A Ddlil.c157 struct ifnet *ifp; member in struct:if_proto
321 static int dlil_event_internal(struct ifnet *ifp, struct kev_msg *msg);
704 #define DLIL_INPUT_CHECK(m, ifp) { \
706 if (_rcvif == NULL || (ifp != lo_ifp && _rcvif != ifp) || \
767 find_attached_proto(struct ifnet *ifp, u_int32_t protocol_family) argument
772 ifnet_lock_assert(ifp, IFNET_LCK_ASSERT_OWNED);
774 if (ifp->if_proto_hash != NULL)
775 proto = SLIST_FIRST(&ifp->if_proto_hash[i]);
792 extern void if_rtproto_del(struct ifnet *ifp, in
798 struct ifnet *ifp = proto->ifp; local
841 ifnet_lock_assert(struct ifnet *ifp, ifnet_lock_assert_t what) argument
873 ifnet_lock_shared(struct ifnet *ifp) argument
879 ifnet_lock_exclusive(struct ifnet *ifp) argument
885 ifnet_lock_done(struct ifnet *ifp) argument
892 if_inet6data_lock_shared(struct ifnet *ifp) argument
898 if_inet6data_lock_exclusive(struct ifnet *ifp) argument
904 if_inet6data_lock_done(struct ifnet *ifp) argument
932 dlil_ifp_proto_count(struct ifnet * ifp) argument
952 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
988 dlil_alloc_local_stats(struct ifnet *ifp) argument
1067 dlil_create_input_thread(ifnet_t ifp, struct dlil_threading_info *inp) argument
1163 struct ifnet *ifp; local
1513 if_flt_monitor_busy(struct ifnet *ifp) argument
1522 if_flt_monitor_unbusy(struct ifnet *ifp) argument
1528 if_flt_monitor_enter(struct ifnet *ifp) argument
1541 if_flt_monitor_leave(struct ifnet *ifp) argument
1555 dlil_attach_filter(struct ifnet *ifp, const struct iff_filter *if_filter, interface_filter_t *filter_ref, u_int32_t flags) argument
1628 ifnet_t ifp = NULL; local
1796 struct ifnet *ifp = inp->ifp; local
1873 struct ifnet *ifp = inp->ifp; local
2115 dlil_rxpoll_set_params(struct ifnet *ifp, struct ifnet_poll_params *p, boolean_t locked) argument
2229 dlil_rxpoll_get_params(struct ifnet *ifp, struct ifnet_poll_params *p) argument
2252 ifnet_input(struct ifnet *ifp, struct mbuf *m_head, const struct ifnet_stat_increment_param *s) argument
2259 ifnet_input_extended(struct ifnet *ifp, struct mbuf *m_head, struct mbuf *m_tail, const struct ifnet_stat_increment_param *s) argument
2266 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
2455 ifnet_start_common(struct ifnet *ifp, int resetfc) argument
2480 ifnet_start(struct ifnet *ifp) argument
2489 struct ifnet *ifp = v; local
2583 ifnet_set_start_cycle(struct ifnet *ifp, struct timespec *ts) argument
2596 ifnet_poll(struct ifnet *ifp) argument
2614 struct ifnet *ifp = v; local
2746 ifnet_set_poll_cycle(struct ifnet *ifp, struct timespec *ts) argument
2759 ifnet_purge(struct ifnet *ifp) argument
2783 ifnet_update_rcv(struct ifnet *ifp, cqev_t ev) argument
2797 ifnet_set_output_sched_model(struct ifnet *ifp, u_int32_t model) argument
2821 ifnet_set_sndq_maxlen(struct ifnet *ifp, u_int32_t maxqlen) argument
2834 ifnet_get_sndq_maxlen(struct ifnet *ifp, u_int32_t *maxqlen) argument
2847 ifnet_get_sndq_len(struct ifnet *ifp, u_int32_t *pkts) argument
2863 ifnet_get_service_class_sndq_len(struct ifnet *ifp, mbuf_svc_class_t sc, u_int32_t *pkts, u_int32_t *bytes) argument
2880 ifnet_set_rcvq_maxlen(struct ifnet *ifp, u_int32_t maxqlen) argument
2903 ifnet_get_rcvq_maxlen(struct ifnet *ifp, u_int32_t *maxqlen) argument
2920 ifnet_enqueue(struct ifnet *ifp, struct mbuf *m) argument
2954 ifnet_dequeue(struct ifnet *ifp, struct mbuf **mp) argument
2966 ifnet_dequeue_service_class(struct ifnet *ifp, mbuf_svc_class_t sc, struct mbuf **mp) argument
2979 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
2992 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
3008 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
3021 dlil_interface_filters_input(struct ifnet *ifp, struct mbuf **m_p, char **frame_header_p, protocol_family_t protocol_family) argument
3067 dlil_interface_filters_output(struct ifnet *ifp, struct mbuf **m_p, protocol_family_t protocol_family) argument
3166 dlil_input_stats_sync(struct ifnet *ifp, struct dlil_threading_info *inp) argument
3232 dlil_input_packet_list(struct ifnet *ifp, struct mbuf *m) argument
3239 dlil_input_packet_list_extended(struct ifnet *ifp, struct mbuf *m, u_int32_t cnt, ifnet_model_t mode) argument
3252 ifnet_t ifp = ifp_param; local
3440 if_mcasts_update(struct ifnet *ifp) argument
3457 dlil_event_internal(struct ifnet *ifp, struct kev_msg *event) argument
3526 ifnet_event(ifnet_t ifp, struct kern_event_msg *event) argument
3595 ifp_inc_traffic_class_in(struct ifnet *ifp, struct mbuf *m) argument
3633 ifp_inc_traffic_class_out(struct ifnet *ifp, struct mbuf *m) argument
3683 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
3980 ifnet_ioctl(ifnet_t ifp, protocol_family_t proto_fam, u_long ioctl_code, void *ioctl_arg) argument
4088 dlil_set_bpf_tap(ifnet_t ifp, bpf_tap_mode mode, bpf_packet_func callback) argument
4104 dlil_resolve_multi(struct ifnet *ifp, const struct sockaddr *proto_addr, struct sockaddr *ll_addr, size_t ll_len) argument
4144 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
4288 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
4401 ifnet_lookup(struct ifnet *ifp) argument
4418 ifnet_is_attached(struct ifnet *ifp, int refio) argument
4434 ifnet_decr_iorefcnt(struct ifnet *ifp) argument
4477 dlil_if_ref(struct ifnet *ifp) argument
4498 dlil_if_free(struct ifnet *ifp) argument
4523 struct ifnet *ifp = proto->ifp; local
4579 ifnet_attach_protocol(ifnet_t ifp, protocol_family_t protocol, const struct ifnet_attach_proto_param *proto_details) argument
4635 ifnet_attach_protocol_v2(ifnet_t ifp, protocol_family_t protocol, const struct ifnet_attach_proto_param_v2 *proto_details) argument
4691 ifnet_detach_protocol(ifnet_t ifp, protocol_family_t proto_family) argument
4757 ifproto_media_input_v1(struct ifnet *ifp, protocol_family_t protocol, struct mbuf *packet, char *header) argument
4765 ifproto_media_input_v2(struct ifnet *ifp, protocol_family_t protocol, struct mbuf *packet) argument
4774 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
4784 ifproto_media_event(struct ifnet *ifp, protocol_family_t protocol, const struct kev_msg *event) argument
4791 ifproto_media_ioctl(struct ifnet *ifp, protocol_family_t protocol, unsigned long command, void *argument) argument
4799 ifproto_media_resolve_multi(ifnet_t ifp, const struct sockaddr *proto_addr, struct sockaddr_dl *out_ll, size_t ll_len) argument
4807 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
4818 ifnet_attach(ifnet_t ifp, const struct sockaddr_dl *ll_addr) argument
5216 dlil_alloc_lladdr(struct ifnet *ifp, const struct sockaddr_dl *ll_addr) argument
5317 if_purgeaddrs(struct ifnet *ifp) argument
5328 ifnet_detach(ifnet_t ifp) argument
5448 ifnet_detaching_enqueue(struct ifnet *ifp) argument
5461 struct ifnet *ifp; local
5481 struct ifnet *ifp; local
5522 ifnet_detach_final(struct ifnet *ifp) argument
5782 ifp_if_output(struct ifnet *ifp, struct mbuf *m) argument
5790 ifp_if_start(struct ifnet *ifp) argument
5796 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
5811 ifp_if_ctl(struct ifnet *ifp, ifnet_ctl_cmd_t cmd, u_int32_t arglen, void *arg) argument
5818 ifp_if_demux(struct ifnet *ifp, struct mbuf *m, char *fh, protocol_family_t *pf) argument
5826 ifp_if_add_proto(struct ifnet *ifp, protocol_family_t pf, const struct ifnet_demux_desc *da, u_int32_t dc) argument
5834 ifp_if_del_proto(struct ifnet *ifp, protocol_family_t pf) argument
5841 ifp_if_check_multi(struct ifnet *ifp, const struct sockaddr *sa) argument
5848 ifp_if_framer(struct ifnet *ifp, struct mbuf **m, const struct sockaddr *sa, const char *ll, const char *t) argument
5856 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
5873 ifp_if_ioctl(struct ifnet *ifp, unsigned long cmd, void *arg) argument
5880 ifp_if_set_bpf_tap(struct ifnet *ifp, bpf_tap_mode tm, bpf_packet_func f) argument
5888 ifp_if_free(struct ifnet *ifp) argument
5894 ifp_if_event(struct ifnet *ifp, const struct kev_msg *e) argument
5900 dlil_if_acquire(u_int32_t family, const void *uniqueid, size_t uniqueid_len, struct ifnet **ifp) argument
6032 dlil_if_release(ifnet_t ifp) argument
6077 dlil_proto_unplumb_all(struct ifnet *ifp) argument
6095 ifp_src_route_copyout(struct ifnet *ifp, struct route *dst) argument
6106 ifp_src_route_copyin(struct ifnet *ifp, struct route *src) argument
6121 ifp_src_route6_copyout(struct ifnet *ifp, struct route_in6 *dst) argument
6133 ifp_src_route6_copyin(struct ifnet *ifp, struct route_in6 *src) argument
6149 ifnet_cached_rtlookup_inet(struct ifnet *ifp, struct in_addr src_ip) argument
6186 ifnet_cached_rtlookup_inet6(struct ifnet *ifp, struct in6_addr *src_ip6) argument
6224 if_lqm_update(struct ifnet *ifp, int lqm) argument
6255 struct ifnet *ifp; local
6440 dlil_node_present(struct ifnet *ifp, struct sockaddr *sa, int32_t rssi, int lqm, int npm, u_int8_t srvinfo[48]) argument
6466 dlil_node_absent(struct ifnet *ifp, struct sockaddr *sa) argument
6542 dlil_report_issues(struct ifnet *ifp, u_int8_t modid[DLIL_MODIDLEN], u_int8_t info[DLIL_MODARGLEN]) argument
6566 ifnet_getset_opportunistic(ifnet_t ifp, u_long cmd, struct ifreq *ifr, struct proc *p) argument
6621 ifnet_get_throttle(struct ifnet *ifp, u_int32_t *level) argument
6642 ifnet_set_throttle(struct ifnet *ifp, u_int32_t level) argument
6681 ifnet_getset_log(ifnet_t ifp, u_long cmd, struct ifreq *ifr, struct proc *p) argument
6725 ifnet_set_log(struct ifnet *ifp, int32_t level, uint32_t flags, int32_t category, int32_t subcategory) argument
6782 ifnet_get_log(struct ifnet *ifp, int32_t *level, uint32_t *flags, int32_t *category, int32_t *subcategory) argument
6798 ifnet_notify_address(struct ifnet *ifp, int af) argument
6817 ifnet_flowid(struct ifnet *ifp, uint32_t *flowid) argument
6832 ifnet_disable_output(struct ifnet *ifp) argument
6852 ifnet_enable_output(struct ifnet *ifp) argument
6869 struct ifnet *ifp; local
6897 ifnet_fc_add(struct ifnet *ifp) argument
6951 struct ifnet *ifp; local
6992 ifnet_calc_flowhash(struct ifnet *ifp) argument
7024 dlil_output_cksum_dbg(struct ifnet *ifp, struct mbuf *m, uint32_t hoff, protocol_family_t pf) argument
7063 dlil_input_cksum_dbg(struct ifnet *ifp, struct mbuf *m, char *frame_header, protocol_family_t pf) argument
[all...]
H A Dif.c153 void if_rtproto_del(struct ifnet *ifp, int protocol);
276 if_attach_ifa(struct ifnet *ifp, struct ifaddr *ifa) argument
278 if_attach_ifa_common(ifp, ifa, 0);
282 if_attach_link_ifa(struct ifnet *ifp, struct ifaddr *ifa) argument
284 if_attach_ifa_common(ifp, ifa, 1);
288 if_attach_ifa_common(struct ifnet *ifp, struct ifaddr *ifa, int link) argument
290 ifnet_lock_assert(ifp, IFNET_LCK_ASSERT_EXCLUSIVE);
293 if (ifa->ifa_ifp != ifp) {
294 panic("%s: Mismatch ifa_ifp=%p != ifp=%p", __func__,
295 ifa->ifa_ifp, ifp);
320 if_detach_ifa(struct ifnet *ifp, struct ifaddr *ifa) argument
326 if_detach_link_ifa(struct ifnet *ifp, struct ifaddr *ifa) argument
332 if_detach_ifa_common(struct ifnet *ifp, struct ifaddr *ifa, int link) argument
530 struct ifnet *ifp; local
763 ifa_ifpgetprimary(struct ifnet *ifp, int family) argument
789 struct ifnet *ifp; local
839 struct ifnet *ifp; local
879 struct ifnet *ifp; local
951 struct ifnet *ifp; local
1070 ifaof_ifpforaddr(const struct sockaddr *addr, struct ifnet *ifp) argument
1169 struct ifnet *ifp; local
1206 if_updown( struct ifnet *ifp, int up) argument
1272 if_down( struct ifnet *ifp) argument
1285 if_up( struct ifnet *ifp) argument
1297 if_qflush(struct ifnet *ifp, int ifq_locked) argument
1320 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
1362 struct ifnet *ifp; local
1495 ifioctl_ifdesc(struct ifnet *ifp, u_long cmd, caddr_t data, struct proc *p) argument
1547 ifioctl_linkparams(struct ifnet *ifp, u_long cmd, caddr_t data, struct proc *p) argument
1631 ifioctl_qstats(struct ifnet *ifp, u_long cmd, caddr_t data) argument
1660 ifioctl_throttle(struct ifnet *ifp, u_long cmd, caddr_t data, struct proc *p) argument
1711 struct ifnet *ifp = NULL; local
2006 struct ifnet *ifp; local
2469 ifnet_set_promiscuous( ifnet_t ifp, int pswitch) argument
2524 struct ifnet *ifp = NULL; local
2646 if_allmulti(struct ifnet *ifp, int onswitch) argument
2824 if_attach_ifma(struct ifnet *ifp, struct ifmultiaddr *ifma, int anon) argument
2860 if_detach_ifma(struct ifnet *ifp, struct ifmultiaddr *ifma, int anon) argument
2936 if_addmulti_doesexist(struct ifnet *ifp, const struct sockaddr *sa, struct ifmultiaddr **retifma, int anon) argument
3045 if_addmulti(struct ifnet *ifp, const struct sockaddr *sa, struct ifmultiaddr **retifma) argument
3057 if_addmulti_anon(struct ifnet *ifp, const struct sockaddr *sa, struct ifmultiaddr **retifma) argument
3086 if_addmulti_common(struct ifnet *ifp, const struct sockaddr *sa, struct ifmultiaddr **retifma, int anon) argument
3246 if_delmulti(struct ifnet *ifp, const struct sockaddr *sa) argument
3267 if_delmulti_anon(struct ifnet *ifp, const struct sockaddr *sa) argument
3278 if_delmulti_common(struct ifmultiaddr *ifma, struct ifnet *ifp, const struct sockaddr *sa, int anon) argument
3372 struct ifnet **ifp; local
3406 struct ifnet *ifp = arg; local
3439 if_rtproto_del(struct ifnet *ifp, int protocol) argument
3455 struct ifnet *ifp = arg; local
3478 if_rtmtu_update(struct ifnet *ifp) argument
3495 if_data_internal_to_if_data(struct ifnet *ifp, const struct if_data_internal *if_data_int, struct if_data *if_data) argument
3553 if_data_internal_to_if_data64(struct ifnet *ifp, const struct if_data_internal *if_data_int, struct if_data64 *if_data64) argument
3603 if_copy_traffic_class(struct ifnet *ifp, struct if_traffic_class *if_tc) argument
3637 if_copy_data_extended(struct ifnet *ifp, struct if_data_extended *if_de) argument
3654 if_copy_packet_stats(struct ifnet *ifp, struct if_packet_stats *if_ps) argument
3695 if_copy_rxpoll_stats(struct ifnet *ifp, struct if_rxpoll_stats *if_rs) argument
[all...]
H A Dether_inet_pr_module.c115 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
374 ether_inet_event(ifnet_t ifp, protocol_family_t protocol, const struct kev_msg *event) argument
399 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
541 ether_attach_inet(struct ifnet *ifp, protocol_family_t proto_family) argument
577 ether_detach_inet(struct ifnet *ifp, protocol_family_t proto_family) argument
[all...]
/macosx-10.9.5/dcerpc-58/dcerpc/idl_compiler/
H A Difspec.h100 AST_interface_n_t *ifp,
108 AST_interface_n_t *ifp
H A Difspemts.c110 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 Dhdgen.h100 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.9.5/Heimdal-323.92.1/lib/roken/
H A Dgetifaddrs_w32.c106 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.9.5/IOFireWireIP-226.4/KernelHeaders/BSD/
H A Dfirewire.h79 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.9.5/ppp-727.90.1/Drivers/PPPoE/PPPoE-extension/
H A Dpppoe_dlil.h32 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 Dpppoe_dlil.c51 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)) {
152 ret = ifnet_attach_protocol(ifp, PF_PP
176 pppoe_dlil_detach(ifnet_t ifp) argument
221 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
246 pppoe_dlil_event(ifnet_t ifp, protocol_family_t protocol, const struct kev_msg *event) argument
267 pppoe_dlil_ioctl(ifnet_t ifp, protocol_family_t protocol, u_long command, void* argument) argument
281 pppoe_dlil_input(ifnet_t ifp, protocol_family_t protocol, mbuf_t packet, char* header) argument
310 pppoe_dlil_output(ifnet_t ifp, mbuf_t m, u_int8_t *to, u_int16_t typ) argument
[all...]
/macosx-10.9.5/ruby-104/ruby/sample/
H A Dmpart.rb19 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.9.5/xnu-2422.115.4/bsd/netinet6/
H A Dscope6.c84 #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 Din6_ifattach.c128 __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
604 in6_nigroup( struct ifnet *ifp, const char *name, int namelen, struct in6_addr *in6) argument
653 in6_domifattach(struct ifnet *ifp) argument
686 in6_ifattach_prelim(struct ifnet *ifp) argument
777 in6_ifattach_aliasreq(struct ifnet *ifp, struct ifnet *altifp, struct in6_aliasreq *ifra0) argument
876 in6_ifattach_llstartreq(struct ifnet *ifp, struct in6_llstartreq *llsr) argument
962 in6_ifdetach(struct ifnet *ifp) argument
1144 in6_iid_mktmp(struct ifnet *ifp, u_int8_t *retbuf, const u_int8_t *baseid, int generate) argument
[all...]
/macosx-10.9.5/bind9-45.100/bind9/bin/named/
H A Dinterfacemgr.c184 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.9.5/xnu-2422.115.4/security/
H A Dmac_net.c139 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.9.5/cups-372.4/cups/cups/
H A Dgetifaddrs.c42 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...]

Completed in 205 milliseconds

123456789