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

1234

/macosx-10.5.8/xnu-1228.15.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_disc.c99 register struct ifnet *ifp = &discif; local
101 ifp->if_name = "ds";
102 ifp->if_family = APPLE_IF_FAM_DISC;
103 ifp->if_mtu = DSMTU;
104 ifp->if_flags = IFF_LOOPBACK | IFF_MULTICAST;
105 ifp->if_ioctl = discioctl;
106 ifp->if_output = discoutput;
107 ifp->if_type = IFT_LOOP;
108 ifp->if_hdrlen = 0;
109 ifp
[all...]
H A Ddlil_pvt.h39 int (*add_if)(struct ifnet_ptr *ifp);
40 int (*del_if)(struct ifnet *ifp);
41 int (*add_proto)(struct ifnet *ifp, u_long protocol_family,
43 int (*del_proto)(struct ifnet *ifp, u_long proto_family);
H A Dif_dummy.c134 register struct ifnet *ifp; local
138 ifp = &dummyif[i];
140 sprintf(ifp->if_xname, "dummy%d", i);
142 ifp->if_name = "dummy";
143 ifp->if_unit = i;
146 ifp->if_softc = NULL;
148 ifp->if_mtu = DUMMYMTU;
150 ifp->if_flags = /* IFF_LOOPBACK */ IFF_BROADCAST | IFF_MULTICAST;
151 ifp->if_ioctl = dummyioctl;
152 ifp
[all...]
H A Dif_mib.c123 make_ifmibdata(struct ifnet *ifp, int *name, struct sysctl_req *req) argument
137 ifp->if_name, ifp->if_unit);
139 #define COPY(fld) ifmd.ifmd_##fld = ifp->if_##fld
142 if_data_internal_to_if_data64(ifp, &ifp->if_data, &ifmd.ifmd_data);
144 ifmd.ifmd_snd_len = ifp->if_snd.ifq_len;
145 ifmd.ifmd_snd_maxlen = ifp->if_snd.ifq_maxlen;
146 ifmd.ifmd_snd_drops = ifp->if_snd.ifq_drops;
157 #define DONTCOPY(fld) ifmd.ifmd_data.ifi_##fld = ifp
196 struct ifnet *ifp; variable in typeref:struct:ifnet
209 ifnet_lock_done(ifp); variable
220 struct ifnet *ifp; variable in typeref:struct:ifnet
227 ifnet_lock_shared(ifp); variable
231 ifnet_lock_done(ifp); variable
[all...]
H A Dbridge.h79 struct ifnet *ifp ; member in struct:bdg_softc
80 /* also ((struct arpcom *)ifp)->ac_enaddr is the eth. addr */
91 #define BDG_USED(ifp) (ifp2sc[ifp->if_index].flags & IFF_USED)
92 #define BDG_MUTED(ifp) (ifp2sc[ifp->if_index].flags & IFF_MUTE)
93 #define BDG_MUTE(ifp) ifp2sc[ifp->if_index].flags |= IFF_MUTE
94 #define BDG_UNMUTE(ifp) ifp2sc[ifp
[all...]
H A Dif.c129 void if_rtproto_del(struct ifnet *ifp, int protocol);
174 struct ifnet *ifp,
177 ifnet_lock_assert(ifp, LCK_MTX_ASSERT_OWNED);
183 TAILQ_INSERT_TAIL(&ifp->if_addrhead, ifa, ifa_link);
188 struct ifnet *ifp,
191 ifnet_lock_assert(ifp, LCK_MTX_ASSERT_OWNED);
200 TAILQ_FOREACH(ifa2, &ifp->if_addrhead, ifa_link) {
209 TAILQ_REMOVE(&ifp->if_addrhead, ifa, ifa_link);
225 * ifindex2ifnet[] is indexed by ifp->if_index. That requires us to
359 struct ifnet *ifp; local
173 if_attach_ifa( struct ifnet *ifp, struct ifaddr *ifa) argument
187 if_detach_ifa( struct ifnet *ifp, struct ifaddr *ifa) argument
524 struct ifnet *ifp; local
554 ifa_ifpgetprimary(struct ifnet *ifp, int family) argument
580 struct ifnet *ifp; local
622 struct ifnet *ifp; local
655 struct ifnet *ifp; local
720 struct ifnet *ifp; local
870 ifaof_ifpforaddr( const struct sockaddr *addr, struct ifnet *ifp) argument
946 struct ifnet *ifp; local
972 if_updown( struct ifnet *ifp, int up) argument
1033 if_down( struct ifnet *ifp) argument
1046 if_up( struct ifnet *ifp) argument
1081 struct ifnet *ifp; local
1155 struct ifnet *ifp; local
1534 ifnet_set_promiscuous( ifnet_t ifp, int pswitch) argument
1593 struct ifnet *ifp = NULL; local
1681 if_allmulti(struct ifnet *ifp, int onswitch) argument
1751 if_addmulti_doesexist( struct ifnet *ifp, const struct sockaddr *sa, struct ifmultiaddr **retifma) argument
1842 if_addmulti( struct ifnet *ifp, const struct sockaddr *sa, struct ifmultiaddr **retifma) argument
1984 struct ifnet *ifp; local
2051 if_delmulti( struct ifnet *ifp, const struct sockaddr *sa) argument
2094 if_setlladdr(struct ifnet *ifp, const u_char *lladdr, int len) argument
2101 ifmaof_ifpforaddr(const struct sockaddr *sa, struct ifnet *ifp) argument
2126 struct ifnet **ifp; local
2162 struct ifnet *ifp = arg; local
2189 if_rtproto_del(struct ifnet *ifp, int protocol) argument
2206 struct ifnet *ifp = arg; local
2227 if_rtmtu_update(struct ifnet *ifp) argument
2246 if_data_internal_to_if_data( struct ifnet *ifp, const struct if_data_internal *if_data_int, struct if_data *if_data) argument
2304 if_data_internal_to_if_data64( struct ifnet *ifp, const struct if_data_internal *if_data_int, struct if_data64 *if_data64) argument
[all...]
H A Dbridge.c164 #define IFP_CHK(ifp, x) \
165 if (ifp2sc[ifp->if_index].magic != 0xDEADBEEF) { x ; }
174 struct ifnet *ifp ; local
176 TAILQ_FOREACH(ifp, &ifnet_head, if_link) {
177 if ( (ifp2sc[ifp->if_index].flags & IFF_BDG_PROMISC) ) {
180 ret = ifnet_set_promiscuous(ifp, 0);
182 ifp2sc[ifp->if_index].flags &= ~(IFF_BDG_PROMISC|IFF_MUTE) ;
184 ifp->if_name, ifp->if_unit,
185 ifp
201 struct ifnet *ifp ; local
286 struct ifnet *ifp = b->ifp ; local
478 struct ifnet *ifp; local
532 bridge_in(struct ifnet *ifp, struct ether_header *eh) argument
639 struct ifnet *ifp, *last = NULL ; local
[all...]
H A Ddlil.c104 struct ifnet *ifp; member in struct:if_proto
188 static int dlil_event_internal(struct ifnet *ifp, struct kev_msg *msg);
203 void dlil_input_packet_list(struct ifnet *ifp, struct mbuf *m);
333 find_attached_proto(struct ifnet *ifp, u_long protocol_family) argument
337 if (ifp->if_proto_hash) {
338 proto = SLIST_FIRST(&ifp->if_proto_hash[i]);
366 __unused struct ifnet *ifp,
377 lck_mtx_assert(ifp->if_lock, what);
383 struct ifnet *ifp)
386 lck_rw_lock_shared(ifp
365 ifnet_lock_assert( __unused struct ifnet *ifp, __unused int what) argument
382 ifnet_lock_shared( struct ifnet *ifp) argument
394 ifnet_lock_exclusive( struct ifnet *ifp) argument
406 ifnet_lock_done( struct ifnet *ifp) argument
435 dlil_ifp_proto_count(struct ifnet * ifp) argument
453 dlil_post_msg(struct ifnet *ifp, u_long event_subclass, u_long event_code, struct net_event_data *event_data, u_long event_data_len) argument
487 dlil_create_input_thread( ifnet_t ifp, struct dlil_threading_info *inputthread) argument
602 dlil_attach_filter( struct ifnet *ifp, const struct iff_filter *if_filter, interface_filter_t *filter_ref) argument
645 ifnet_t ifp = NULL; local
821 ifnet_input( ifnet_t ifp, mbuf_t m_head, const struct ifnet_stat_increment_param *stats) argument
951 dlil_interface_filters_input(struct ifnet * ifp, struct mbuf * * m_p, char * * frame_header_p, protocol_family_t protocol_family) argument
1015 ifnet_t ifp = ifp_param; local
1132 dlil_event_internal(struct ifnet *ifp, struct kev_msg *event) argument
1175 ifnet_event( ifnet_t ifp, struct kern_event_msg *event) argument
1240 dlil_output_list( struct ifnet* ifp, u_long proto_family, struct mbuf *packetlist, caddr_t route, const struct sockaddr *dest, int raw) argument
[all...]
H A Dif_vlan.c114 typedef int (if_set_bpf_tap_func)(struct ifnet *ifp, int mode, bpf_callback_func * func);
359 static int vlan_input(ifnet_t ifp, protocol_family_t protocol,
361 static int vlan_output(struct ifnet *ifp, struct mbuf *m);
362 static int vlan_ioctl(ifnet_t ifp, u_int32_t cmd, void * addr);
363 static int vlan_set_bpf_tap(ifnet_t ifp, bpf_tap_mode mode,
365 static int vlan_attach_protocol(struct ifnet *ifp);
366 static int vlan_detach_protocol(struct ifnet *ifp);
367 static int vlan_setmulti(struct ifnet *ifp);
368 static int vlan_unconfig(struct ifnet *ifp);
369 static int vlan_config(struct ifnet * ifp, struc
417 siocgifdevmtu(struct ifnet * ifp, struct ifdevmtu * ifdm_p) argument
431 siocsifaltmtu(struct ifnet * ifp, int mtu) argument
441 vlan_bpf_output(struct ifnet * ifp, struct mbuf * m, bpf_packet_func func) argument
451 vlan_bpf_input(struct ifnet * ifp, struct mbuf * m, bpf_packet_func func, char * frame_header, int frame_header_len, int encap_len) argument
494 struct ifnet * ifp = vlp->vlp_ifp; local
526 struct ifnet * ifp = vlp->vlp_ifp; local
536 struct ifnet * ifp = vlp->vlp_ifp; local
559 struct ifnet * ifp = vlp->vlp_ifp; local
576 vlan_setmulti(struct ifnet * ifp) argument
787 ifnet_t ifp; local
865 vlan_if_detach(struct ifnet * ifp) argument
872 vlan_clone_destroy(struct ifnet *ifp) argument
893 vlan_set_bpf_tap(ifnet_t ifp, bpf_tap_mode mode, bpf_packet_func func) argument
927 vlan_output(struct ifnet * ifp, struct mbuf * m) argument
1024 struct ifnet * ifp = NULL; local
1122 vlan_config(struct ifnet * ifp, struct ifnet * p, int tag) argument
1305 vlan_link_event(struct ifnet * ifp, struct ifnet * p) argument
1325 vlan_unconfig(struct ifnet * ifp) argument
1417 vlan_set_promisc(struct ifnet * ifp) argument
1455 vlan_new_mtu(struct ifnet * ifp, int mtu) argument
1496 vlan_set_mtu(struct ifnet * ifp, int mtu) argument
1549 vlan_ioctl(ifnet_t ifp, u_int32_t cmd, void * data) argument
1743 vlan_if_free(struct ifnet * ifp) argument
1811 interface_link_event(struct ifnet * ifp, u_long event_code) argument
1854 vlan_attach_protocol(struct ifnet *ifp) argument
1876 vlan_detach_protocol(struct ifnet *ifp) argument
1897 vlan_attach_inet(struct ifnet *ifp, protocol_family_t protocol_family) argument
1903 vlan_detach_inet(struct ifnet *ifp, protocol_family_t protocol_family) argument
1910 vlan_attach_inet6(struct ifnet *ifp, protocol_family_t protocol_family) argument
1916 vlan_detach_inet6(struct ifnet *ifp, protocol_family_t protocol_family) argument
1923 vlan_attach_at(struct ifnet *ifp, protocol_family_t protocol_family) argument
1929 vlan_detach_at(struct ifnet *ifp, protocol_family_t protocol_family) argument
[all...]
H A Dether_at_pr_module.c109 __unused ifnet_t ifp,
138 ifnet_t ifp,
150 if ((ifp->if_flags & (IFF_UP|IFF_RUNNING)) != (IFF_UP|IFF_RUNNING))
175 printf("%s%d: can't handle af%d\n", ifp->if_name, ifp->if_unit,
188 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);
207 ifnet_lladdr_copy_bytes(ifp, if
108 ether_at_input( __unused ifnet_t ifp, __unused protocol_family_t protocol_family, mbuf_t m, __unused char *frame_header) argument
137 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
187 ether_at_prmod_ioctl( ifnet_t ifp, __unused protocol_family_t protocol_family, u_int32_t command, void *data) argument
220 ether_attach_at( ifnet_t ifp, __unused protocol_family_t proto_family) argument
254 ether_detach_at( ifnet_t ifp, __unused protocol_family_t proto_family) argument
[all...]
H A Ddlil.h119 errno_t dlil_set_bpf_tap(ifnet_t ifp, bpf_tap_mode mode,
128 ifnet_t ifp,
137 ifnet_t ifp,
146 struct ifnet *ifp,
153 ifnet_t ifp,
160 int dlil_attach_filter(ifnet_t ifp, const struct iff_filter *if_filter,
163 int dlil_detach_protocol(ifnet_t ifp, u_long protocol);
169 dlil_post_msg(struct ifnet *ifp,u_long event_subclass, u_long event_code,
177 struct ifnet **ifp);
185 void dlil_if_release(struct ifnet *ifp);
[all...]
H A Dif_fddisubr.c124 * Assumes that ifp is actually pointer to arpcom structure.
127 fddi_output(ifp, m0, dst, rt0)
128 register struct ifnet *ifp;
139 struct arpcom *ac = (struct arpcom *)ifp;
141 if ((ifp->if_flags & (IFF_UP|IFF_RUNNING)) != (IFF_UP|IFF_RUNNING))
143 getmicrotime(&ifp->if_lastchange);
209 iso_snparesolve(ifp, (struct sockaddr_iso *)dst,
308 printf("%s%d: can't handle af%d\n", ifp->if_name, ifp->if_unit,
349 if ((ifp
[all...]
H A Dether_inet_pr_module.c177 __unused ifnet_t ifp,
219 ifnet_t ifp,
232 if ((ifp->if_flags & (IFF_UP|IFF_RUNNING)) != (IFF_UP|IFF_RUNNING))
244 result = arp_lookup_ip(ifp, (const struct sockaddr_in*)dst_netaddr,
262 printf("%s%d: can't handle af%d\n", ifp->if_name, ifp->if_unit,
273 ifnet_t ifp,
293 out_ll->sdl_index = ifp->if_index;
305 ifnet_t ifp,
318 if ((ifnet_flags(ifp)
176 ether_inet_input( __unused ifnet_t ifp, __unused protocol_family_t protocol_family, mbuf_t m_list) argument
218 ether_inet_pre_output( ifnet_t ifp, __unused protocol_family_t protocol_family, mbuf_t *m0, const struct sockaddr *dst_netaddr, void* route, char *type, char *edst) argument
272 ether_inet_resolve_multi( ifnet_t ifp, const struct sockaddr *proto_addr, struct sockaddr_dl *out_ll, size_t ll_len) argument
304 ether_inet_prmod_ioctl( ifnet_t ifp, __unused protocol_family_t protocol_family, u_int32_t command, void* data) argument
364 ether_inet_event( ifnet_t ifp, __unused protocol_family_t protocol, const struct kev_msg *event) argument
390 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
502 ether_attach_inet( struct ifnet *ifp, __unused protocol_family_t proto_family) argument
539 ether_detach_inet( struct ifnet *ifp, protocol_family_t proto_family) argument
[all...]
H A Dnet_osdep.c76 if_name(struct ifnet *ifp) argument
86 snprintf(cp, IFNAMSIZ + 10, "%s%d", ifp->if_name, ifp->if_unit);
H A Dif_loop.c148 __unused ifnet_t ifp,
163 __unused ifnet_t ifp,
190 __unused ifnet_t ifp,
198 ifnet_t ifp,
213 m->m_pkthdr.rcvif = ifp;
215 ifp->if_ibytes += m->m_pkthdr.len;
216 ifp->if_obytes += m->m_pkthdr.len;
218 ifp->if_opackets++;
219 ifp->if_ipackets++;
235 bpf_tap_out(ifp, DLT_NUL
147 lo_demux( __unused ifnet_t ifp, __unused mbuf_t m, char *frame_header, protocol_family_t *protocol_family) argument
162 lo_framer( __unused ifnet_t ifp, mbuf_t *m, __unused const struct sockaddr *dest, __unused const char *dest_linkaddr, const char *frame_type) argument
189 lo_del_proto( __unused ifnet_t ifp, __unused protocol_family_t protocol) argument
197 lo_output( ifnet_t ifp, mbuf_t m_list) argument
249 lo_pre_output( __unused ifnet_t ifp, protocol_family_t protocol_family, mbuf_t *m, __unused const struct sockaddr *dst, void *route, char *frame_type, __unused char *dst_addr) argument
285 lo_input( __unused ifnet_t ifp, __unused protocol_family_t protocol_family, mbuf_t m) argument
321 loioctl( ifnet_t ifp, u_int32_t cmd, void* data) argument
380 lo_attach_proto(ifnet_t ifp, protocol_family_t protocol_family) argument
412 lo_set_bpf_tap( ifnet_t ifp, bpf_tap_mode mode, bpf_packet_func bpf_callback) argument
[all...]
H A Dether_inet6_pr_module.c123 __unused ifnet_t ifp,
137 ifnet_t ifp,
154 result = nd6_lookup_ipv6(ifp, (const struct sockaddr_in6*)dst_netaddr,
169 ifnet_t ifp,
189 out_ll->sdl_index = ifp->if_index;
202 ifnet_t ifp,
212 if ((ifp->if_flags & IFF_RUNNING) == 0) {
213 ifnet_set_flags(ifp, IFF_UP, IFF_UP);
214 ifnet_ioctl(ifp, 0, SIOCSIFFLAGS, NULL);
219 ifnet_lladdr_copy_bytes(ifp, if
122 ether_inet6_input( __unused ifnet_t ifp, protocol_family_t protocol, mbuf_t packet, __unused char *header) argument
136 ether_inet6_pre_output( ifnet_t ifp, __unused protocol_family_t protocol_family, mbuf_t *m0, const struct sockaddr *dst_netaddr, void *route, char *type, char *edst) argument
168 ether_inet6_resolve_multi( ifnet_t ifp, const struct sockaddr *proto_addr, struct sockaddr_dl *out_ll, size_t ll_len) argument
201 ether_inet6_prmod_ioctl( ifnet_t ifp, __unused protocol_family_t protocol_family, u_int32_t command, void* data) argument
230 ether_attach_inet6( struct ifnet *ifp, __unused protocol_family_t protocol_family) argument
259 ether_detach_inet6( struct ifnet *ifp, protocol_family_t protocol_family) argument
[all...]
H A Dkpi_protocol.h134 @param ifp The interface the protocol should be attached to.
140 typedef errno_t (*proto_plumb_handler)(ifnet_t ifp, protocol_family_t protocol);
147 @param ifp The interface the protocol should be detached from.
151 typedef void (*proto_unplumb_handler)(ifnet_t ifp, protocol_family_t protocol);
193 'ifp' is the interface to plumb the protocol to.
210 errno_t proto_plumb(protocol_family_t protocol_family, ifnet_t ifp);
223 'ifp' is APPLE_IF_FAM_ETHERNET, APPLE_IF_FAM_PPP, ...
240 errno_t proto_unplumb(protocol_family_t protocol_family, ifnet_t ifp);
H A Drtsock_mip.c36 rt_mip6msg(cmd, ifp, rt)
38 struct ifnet *ifp;
51 if (rt == 0 || ifp == 0)
64 rtm->rtm_index = ifp->if_index;
/macosx-10.5.8/xnu-1228.15.4/bsd/netinet6/
H A Din6.c323 struct ifnet *ifp; local
331 ifp = ifindex2ifnet[idx];
334 ifnet_lock_shared(ifp);
335 TAILQ_FOREACH(ifa, &ifp->if_addrlist, ifa_list)
341 ifnet_lock_done(ifp);
345 ifnet_lock_done(ifp);
406 in6_control(so, cmd, data, ifp, p)
410 struct ifnet *ifp;
436 if (ifp == NULL)
463 return(nd6_ioctl(cmd, data, ifp));
1401 struct ifnet *ifp = ifa->ifa_ifp; local
2253 struct ifnet *ifp; local
2532 in6_ifawithifp( struct ifnet *ifp, struct in6_addr *dst) argument
2621 in6_if_up( struct ifnet *ifp, struct in6_aliasreq *ifra) argument
2651 in6if_do_dad( struct ifnet *ifp) argument
2695 struct ifnet *ifp; local
2769 in6_post_msg(struct ifnet *ifp, u_long event_code, struct in6_ifaddr *ifa) argument
[all...]
H A Dscope6.c60 struct ifnet *ifp)
85 #define SID scope6_ids[ifp->if_index]
96 SID.s6id_list[IPV6_ADDR_SCOPE_LINKLOCAL] = ifp->if_index;
107 struct ifnet *ifp,
128 idlist[i] != scope6_ids[ifp->if_index].s6id_list[i]) {
145 scope6_ids[ifp->if_index].s6id_list[i] = idlist[i];
154 struct ifnet *ifp,
160 bcopy(scope6_ids[ifp->if_index].s6id_list, idlist,
161 sizeof(scope6_ids[ifp->if_index].s6id_list));
228 struct ifnet *ifp, /* mus
59 scope6_ifattach( struct ifnet *ifp) argument
106 scope6_set( struct ifnet *ifp, u_int32_t *idlist) argument
153 scope6_get( struct ifnet *ifp, u_int32_t *idlist) argument
227 in6_addr2scopeid( struct ifnet *ifp, struct in6_addr *addr) argument
260 scope6_setdefault( struct ifnet *ifp) argument
[all...]
H A Din6_ifattach.c139 __unused struct ifnet *ifp,
263 struct ifnet *ifp,
275 ifnet_lock_shared(ifp);
276 for (ifa = ifp->if_addrlist.tqh_first;
290 ifnet_lock_done(ifp);
295 ifnet_lock_done(ifp);
300 switch (ifp->if_type) {
406 struct ifnet *ifp; local
424 TAILQ_FOREACH(ifp, &ifnet_head, if_list) {
425 if (ifp
138 get_rand_ifid( __unused struct ifnet *ifp, struct in6_addr *in6) argument
262 get_hw_ifid( struct ifnet *ifp, struct in6_addr *in6) argument
467 in6_ifattach_linklocal( struct ifnet *ifp, struct ifnet *altifp, struct in6_aliasreq *ifra_passed) argument
621 in6_ifattach_loopback( struct ifnet *ifp) argument
682 in6_nigroup( struct ifnet *ifp, const char *name, int namelen, struct in6_addr *in6) argument
733 struct ifnet *ifp; local
767 struct ifnet *ifp; local
795 in6_ifattach( struct ifnet *ifp, struct ifnet *altifp, struct in6_aliasreq *ifra) argument
942 in6_ifdetach( struct ifnet *ifp) argument
1052 in6_get_tmpifid( struct ifnet *ifp, u_int8_t *retbuf, const u_int8_t *baseid, int generate) argument
[all...]
H A Dnd6.c150 struct ifnet *ifp)
181 #define ND nd_ifinfo[ifp->if_index]
193 ND.linkmtu = ifindex2ifnet[ifp->if_index]->if_mtu;
200 nd6_setmtu(ifp);
209 nd6_setmtu(struct ifnet *ifp) argument
219 if (ifp->if_index >= nd_ifinfo_indexlim) {
223 ndi = &nd_ifinfo[ifp->if_index];
237 ndi->maxmtu = ifp->if_mtu;
248 ifp->if_name, ifp
149 nd6_ifattach( struct ifnet *ifp) argument
415 struct ifnet *ifp = NULL; local
694 struct ifnet *ifp; local
763 nd6_purge( struct ifnet *ifp) argument
839 nd6_lookup( struct in6_addr *addr6, int create, struct ifnet *ifp, int rt_locked) argument
960 nd6_is_addr_neighbor( struct sockaddr_in6 *addr, struct ifnet *ifp, int rt_locked) argument
1173 struct ifnet *ifp = rt->rt_ifp; local
1424 nd6_ioctl( u_long cmd, caddr_t data, struct ifnet *ifp) argument
1678 nd6_cache_lladdr( struct ifnet *ifp, struct in6_addr *from, char *lladdr, __unused int lladdrlen, int type, int code) argument
1949 nd6_output( struct ifnet *ifp, struct ifnet *origifp, struct mbuf *m0, struct sockaddr_in6 *dst, struct rtentry *rt0, int locked) argument
2177 nd6_need_cache( struct ifnet *ifp) argument
2205 nd6_storelladdr( struct ifnet *ifp, struct rtentry *rt, struct mbuf *m, struct sockaddr *dst, u_char *desten) argument
2262 nd6_lookup_ipv6( ifnet_t ifp, const struct sockaddr_in6 *ip6_dest, struct sockaddr_dl *ll_dest, size_t ll_dest_len, route_t hint, mbuf_t packet) argument
[all...]
/macosx-10.5.8/xnu-1228.15.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.5.8/xnu-1228.15.4/bsd/netinet/
H A Din.c275 struct ifnet *ifp,
296 if (!ifp)
298 return in_lifaddr_ioctl(so, cmd, data, ifp, p);
307 if (ifp) {
311 if (iap->ia_ifp == ifp) {
334 if (ifp == 0) {
342 if (ifp == 0) {
351 if (ia->ia_ifp == ifp &&
364 if ((ifp->if_flags & IFF_POINTOPOINT)
388 if (ifp
271 in_control( struct socket *so, u_long cmd, caddr_t data, struct ifnet *ifp, struct proc *p) argument
950 in_lifaddr_ioctl( struct socket *so, u_long cmd, caddr_t data, struct ifnet *ifp, struct proc *p) argument
1118 in_ifscrub( struct ifnet *ifp, struct in_ifaddr *ia, int locked) argument
1142 in_ifinit( struct ifnet *ifp, struct in_ifaddr *ia, struct sockaddr_in *sin, int scrub) argument
1259 in_broadcast( struct in_addr in, struct ifnet *ifp) argument
1326 in_addmulti( struct in_addr *ap, struct ifnet *ifp) argument
[all...]

Completed in 67 milliseconds

1234