/macosx-10.5.8/xnu-1228.15.4/bsd/netinet/ |
H A D | in_dhcp.h | 45 dhcp(struct ifnet * ifp, struct in_addr * iaddr_p, int max_try,
|
H A D | icmp6.h | 670 #define icmp6_ifstat_inc(ifp, tag) \ 672 if ((ifp) && (ifp)->if_index <= if_index \ 673 && (ifp)->if_index < icmp6_ifstatmax \ 674 && icmp6_ifstat && icmp6_ifstat[(ifp)->if_index]) { \ 675 icmp6_ifstat[(ifp)->if_index]->tag++; \ 679 #define icmp6_ifoutstat_inc(ifp, type, code) \ 681 icmp6_ifstat_inc(ifp, ifs6_out_msg); \ 683 icmp6_ifstat_inc(ifp, ifs6_out_error); \ 686 icmp6_ifstat_inc(ifp, ifs6_out_dstunreac [all...] |
H A D | in_arp.h | 95 errno_t inet_arp_handle_input(ifnet_t ifp, u_int16_t arpop, 102 errno_t arp_ip_handle_input(ifnet_t ifp, u_int16_t arpop,
|
H A D | in_arp.c | 510 ifnet_t ifp, 526 if ((ifp->if_flags & (IFF_UP|IFF_RUNNING)) != (IFF_UP|IFF_RUNNING)) 542 result = ifnet_llbroadcast_copy_bytes(ifp, LLADDR(ll_dest), ll_dest_len 556 return dlil_resolve_multi(ifp, (const struct sockaddr*)net_dest, 569 ifp->if_index); 595 if (ifp->if_flags & IFF_NOARP) { 614 dlil_send_arp(ifp, ARPOP_REQUEST, NULL, route->rt_ifa->ifa_addr, 635 ifnet_t ifp, 662 if (ia->ia_ifp == ifp) { 678 if (!bcmp(CONST_LLADDR(sender_hw), ifnet_lladdr(ifp), sender_h 509 arp_lookup_ip( ifnet_t ifp, const struct sockaddr_in *net_dest, struct sockaddr_dl *ll_dest, size_t ll_dest_len, route_t hint, mbuf_t packet) argument 634 arp_ip_handle_input( ifnet_t ifp, u_short arpop, const struct sockaddr_dl *sender_hw, const struct sockaddr_in *sender_ip, const struct sockaddr_in *target_ip) argument 928 arp_ifinit( struct ifnet *ifp, struct ifaddr *ifa) argument [all...] |
H A D | igmp.c | 113 find_rti(struct ifnet *ifp, int wait); 158 struct ifnet *ifp, int wait) 167 if (rti->rti_ifp == ifp) { 179 rti->rti_ifp = ifp; 199 struct ifnet *ifp = m->m_pkthdr.rcvif; local 246 rti = find_rti(ifp, M_NOWAIT); 268 if (ifp->if_flags & IFF_LOOPBACK) 315 if (inm->inm_ifp == ifp && 340 IFP_TO_IA(ifp, ia); 346 if (ifp 157 find_rti( struct ifnet *ifp, int wait) argument [all...] |
H A D | in_var.h | 181 #define INADDR_TO_IFP(addr, ifp) \ 183 /* struct ifnet *ifp; */ \ 192 (ifp) = (ia == NULL) ? NULL : ia->ia_ifp; \ 200 #define IFP_TO_IA(ifp, ia) \ 201 /* struct ifnet *ifp; */ \ 207 (ia) != NULL && (ia)->ia_ifp != (ifp); \ 262 #define IN_LOOKUP_MULTI(addr, ifp, inm) \ 264 /* struct ifnet *ifp; */ \ 269 LIST_FOREACH(ifma, &((ifp)->if_multiaddrs), ifma_link) { \
|
H A D | ip_output.c | 240 struct ifnet *ifp = NULL; local 292 ifp = dn_tag->ifp; 477 ifp = ia->ia_ifp; 479 isbroadcast = in_broadcast(dst->sin_addr, ifp); 486 ifp = imo->imo_multicast_ifp; 493 ia != NULL && ia->ia_ifp != ifp; 602 ifp = ro->ro_rt->rt_ifp; 609 isbroadcast = in_broadcast(dst->sin_addr, ifp); 628 ifp 2072 ifnet_t ifp; local 2472 struct ifnet *ifp; local 2505 struct ifnet *ifp = NULL; local 2699 struct ifnet *ifp = NULL; local 2783 struct ifnet* ifp = NULL; local [all...] |
/macosx-10.5.8/xnu-1228.15.4/bsd/net/ |
H A D | if_stf.c | 164 static errno_t stf_ioctl(ifnet_t ifp, u_int32_t cmd, void *data); 165 static errno_t stf_output(ifnet_t ifp, mbuf_t m); 172 __unused ifnet_t ifp, 186 ifnet_t ifp, 192 struct stf_softc* stf = ifnet_softc(ifp); 205 ifnet_t ifp, 208 if (((struct stf_softc*)ifnet_softc(ifp))->sc_protocol_family == protocol_family) 209 ((struct stf_softc*)ifnet_softc(ifp))->sc_protocol_family = 0; 216 ifnet_t ifp, 229 stat = ifnet_attach_protocol(ifp, protocol_famil 171 stf_media_input( __unused ifnet_t ifp, protocol_family_t protocol_family, mbuf_t m, __unused char *frame_header) argument 185 stf_add_proto( ifnet_t ifp, protocol_family_t protocol_family, __unused const struct ifnet_demux_desc *demux_array, __unused u_int32_t demux_count) argument 204 stf_del_proto( ifnet_t ifp, protocol_family_t protocol_family) argument 215 stf_attach_inet6( ifnet_t ifp, protocol_family_t protocol_family) argument 239 stf_demux( ifnet_t ifp, __unused mbuf_t m, __unused char *frame_ptr, protocol_family_t *protocol_family) argument 251 stf_set_bpf_tap( ifnet_t ifp, bpf_tap_mode mode, bpf_packet_func callback) argument 403 stf_getsrcifa6(struct ifnet *ifp) argument 445 stf_pre_output( struct ifnet *ifp, __unused protocol_family_t protocol_family, struct mbuf **m0, const struct sockaddr *dst, __unused void *route, __unused char *desk_linkaddr, __unused char *frame_type) argument 565 stf_output( __unused ifnet_t ifp, __unused mbuf_t m) argument 673 struct ifnet *ifp; local 767 stf_ioctl( ifnet_t ifp, u_int32_t cmd, void *data) argument [all...] |
H A D | kpi_interface.c | 72 ifnet_t ifp) 74 ifnet_detached_func detach_func = ifp->if_kpi_storage; 77 detach_func(ifp); 79 if (ifp->if_broadcast.length > sizeof(ifp->if_broadcast.u.buffer)) { 80 FREE(ifp->if_broadcast.u.ptr, M_IFADDR); 81 ifp->if_broadcast.u.ptr = NULL; 84 dlil_if_release(ifp); 104 struct ifnet *ifp = NULL; local 116 error = dlil_if_acquire(init->family, init->uniqueid, init->uniqueid_len, &ifp); 71 ifnet_kpi_free( ifnet_t ifp) argument 185 ifnet_reference( ifnet_t ifp) argument 198 ifnet_release( ifnet_t ifp) argument 761 struct ifnet *ifp; local 1053 struct ifnet *ifp; local 1105 struct ifnet *ifp; local 1257 struct ifnet *ifp; local [all...] |
H A D | if_gif.c | 115 #define GIF_MAXUNIT 0x7fff /* ifp->if_unit is only 15 bits */ 127 static errno_t gif_output(ifnet_t ifp, mbuf_t m); 128 static errno_t gif_input(ifnet_t ifp, protocol_family_t protocol_family, 130 static errno_t gif_ioctl(ifnet_t ifp, u_int32_t cmd, void *data); 172 ifnet_t ifp, 178 *protocol_family = ((struct gif_softc*)ifnet_softc(ifp))->gif_proto; 185 ifnet_t ifp, 191 struct gif_softc* gif = ifnet_softc(ifp); 194 printf("gif_add_proto: request add_proto for gif%d\n", ifnet_unit(ifp)); 203 ifnet_t ifp, 171 gif_demux( ifnet_t ifp, __unused mbuf_t m, __unused char *frame_header, protocol_family_t *protocol_family) argument 184 gif_add_proto( ifnet_t ifp, protocol_family_t protocol_family, __unused const struct ifnet_demux_desc *demux_array, __unused u_int32_t demux_count) argument 202 gif_del_proto( ifnet_t ifp, protocol_family_t protocol_family) argument 214 gif_attach_proto_family( ifnet_t ifp, protocol_family_t protocol_family) argument 260 gif_set_bpf_tap( ifnet_t ifp, bpf_tap_mode mode, bpf_packet_func callback) argument 423 gif_output( ifnet_t ifp, mbuf_t m) argument 485 gif_input( ifnet_t ifp, protocol_family_t protocol_family, mbuf_t m, __unused char *frame_header) argument 516 gif_ioctl( ifnet_t ifp, u_int32_t cmd, void *data) argument [all...] |
H A D | bpf.c | 196 static int bpf_setif(struct bpf_d *, ifnet_t ifp, u_int32_t dlt); 210 static int bpf_tap_callback(struct ifnet *ifp, struct mbuf *m); 464 /* Find the default bpf entry for this ifp */ 494 struct ifnet *ifp; local 496 ifp = d->bd_bif->bif_ifp; 513 dlil_set_bpf_tap(ifp, BPF_TAP_DISABLE, NULL); 515 bp->bif_tap(ifp, bp->bif_dlt, BPF_TAP_DISABLE); 518 if (bp->bif_ifp == ifp && bp->bif_dlist != 0) 521 ifp->if_bpf = NULL; 531 if (ifnet_set_promiscuous(ifp, 827 struct ifnet *ifp; local 973 struct ifnet *ifp; local 1097 struct ifnet *const ifp = d->bd_bif->bif_ifp; local 1109 ifnet_t ifp; local 1307 struct ifnet *ifp = bp->bif_ifp; local 1356 struct ifnet *ifp; local 1395 struct ifnet *ifp; local 1503 bpf_tap_imp( ifnet_t ifp, u_int32_t dlt, mbuf_t m, void* hdr, size_t hlen, int outbound) argument 1586 bpf_tap_out( ifnet_t ifp, u_int32_t dlt, mbuf_t m, void* hdr, size_t hlen) argument 1597 bpf_tap_in( ifnet_t ifp, u_int32_t dlt, mbuf_t m, void* hdr, size_t hlen) argument 1608 bpf_tap_callback(struct ifnet *ifp, struct mbuf *m) argument 1732 bpfattach(struct ifnet *ifp, u_int dlt, u_int hdrlen) argument 1738 bpf_attach( ifnet_t ifp, u_int32_t dlt, u_int32_t hdrlen, bpf_send_func send, bpf_tap_func tap) argument 1818 bpfdetach(struct ifnet *ifp) argument [all...] |
H A D | rtsock.c | 308 struct ifnet *ifp = NULL; local 531 ifp = rt->rt_ifp; 532 if (ifp) { 533 ifnet_lock_shared(ifp); 534 ifa2 = ifp->if_addrhead.tqh_first; 536 ifnet_lock_done(ifp); 538 rtm->rtm_index = ifp->if_index; 692 struct ifnet *ifp = 0; local 701 * New gateway could require new ifaddr, ifp; flags may also 702 * be different; ifp ma 991 rt_ifmsg( struct ifnet *ifp) argument 1031 struct ifnet *ifp = ifa->ifa_ifp; local 1086 struct ifnet *ifp = ifma->ifma_ifp; local 1175 struct ifnet *ifp; local 1238 struct ifnet *ifp; local [all...] |
H A D | ether_if_module.c | 173 ifnet_t ifp, 176 struct ether_desc_blk_str *desc_blk = (struct ether_desc_blk_str *)ifp->family_cookie; 192 FREE(ifp->family_cookie, M_IFADDR); 193 ifp->family_cookie = 0; 207 struct ifnet *ifp, 212 struct ether_desc_blk_str *desc_blk = (struct ether_desc_blk_str *)ifp->family_cookie; 296 ifp->family_cookie = (u_long)desc_blk; 346 ifnet_t ifp, 355 error = ether_add_proto_internal(ifp, protocol, &demux_list[i]); 357 ether_del_proto(ifp, protoco 172 ether_del_proto( ifnet_t ifp, protocol_family_t protocol_family) argument 206 ether_add_proto_internal( struct ifnet *ifp, protocol_family_t protocol, const struct ifnet_demux_desc *demux) argument 345 ether_add_proto( ifnet_t ifp, protocol_family_t protocol, const struct ifnet_demux_desc *demux_list, u_int32_t demux_count) argument 366 ether_demux( ifnet_t ifp, mbuf_t m, char *frame_header, protocol_family_t *protocol_family) argument 508 ether_frameout( struct ifnet *ifp, struct mbuf **m, const struct sockaddr *ndest, const char *edst, const char *ether_type) argument 566 ether_check_multi( __unused ifnet_t ifp, const struct sockaddr *proto_addr) argument 599 ether_ioctl( __unused ifnet_t ifp, __unused u_int32_t command, __unused void* data) argument [all...] |
H A D | if_bond.c | 651 static int bond_input(ifnet_t ifp, protocol_family_t protocol, mbuf_t m, 653 static int bond_output(struct ifnet *ifp, struct mbuf *m); 654 static int bond_ioctl(struct ifnet *ifp, u_int32_t cmd, void * addr); 655 static int bond_set_bpf_tap(struct ifnet * ifp, bpf_tap_mode mode, 657 static int bond_attach_protocol(struct ifnet *ifp); 658 static int bond_detach_protocol(struct ifnet *ifp); 659 static int bond_setmulti(struct ifnet *ifp); 660 static int bond_add_interface(struct ifnet * ifp, struct ifnet * port_ifp); 662 static void bond_if_free(struct ifnet * ifp); 669 static void interface_link_event(struct ifnet * ifp, u_lon 672 siocsifmtu(struct ifnet * ifp, int mtu) argument 682 siocgifdevmtu(struct ifnet * ifp, struct ifdevmtu * ifdm_p) argument 860 interface_media_info(struct ifnet * ifp) argument 889 ifp_get_ifaddr(struct ifnet * ifp) argument 895 ifp_get_sdl(struct ifnet * ifp) argument 904 if_siflladdr(struct ifnet * ifp, const struct ether_addr * ea_p) argument 950 struct ifnet * ifp; local 994 bond_bpf_vlan(struct ifnet * ifp, struct mbuf * m, const struct ether_header * eh_p, u_int16_t vlan_tag, bpf_packet_func func) argument 1020 bond_bpf_output(struct ifnet * ifp, struct mbuf * m, bpf_packet_func func) argument 1040 bond_bpf_input(ifnet_t ifp, mbuf_t m, const struct ether_header * eh_p, bpf_packet_func func) argument 1065 bond_setmulti(struct ifnet * ifp) argument 1148 ifnet_t ifp; local 1258 bond_if_detach(struct ifnet * ifp) argument 1272 bond_clone_destroy(struct ifnet * ifp) argument 1293 bond_set_bpf_tap(struct ifnet * ifp, bpf_tap_mode mode, bpf_packet_func func) argument 1501 bond_output(struct ifnet * ifp, struct mbuf * m) argument 1683 struct ifnet * ifp; local 1989 bond_device_mtu(struct ifnet * ifp, ifbond_ref ifb) argument 1996 bond_add_interface(struct ifnet * ifp, struct ifnet * port_ifp) argument 2276 struct ifnet * ifp; local 2465 bond_set_mode(struct ifnet * ifp, int mode) argument 2595 bond_set_promisc(__unused struct ifnet *ifp) argument 2662 bond_set_mtu(struct ifnet * ifp, int mtu, int isdevmtu) argument 2732 bond_ioctl(struct ifnet *ifp, u_int32_t cmd, void * data) argument 2954 bond_if_free(struct ifnet * ifp) argument 3070 interface_link_event(struct ifnet * ifp, u_long event_code) argument 3101 bond_attach_protocol(struct ifnet *ifp) argument 3124 bond_detach_protocol(struct ifnet *ifp) argument [all...] |
H A D | ndrv.c | 85 static struct ndrv_cb *ndrv_find_inbound(struct ifnet *ifp, u_long protocol_family); 128 struct ifnet *ifp = np->nd_if; local 146 * ifp directly. 148 result = ifnet_output_raw(ifp, np->nd_proto_family, m); 158 ifnet_t ifp, 180 np = ndrv_find_inbound(ifp, proto_family); 187 m = m_prepend(m, ifnet_hdrlen(ifp), M_NOWAIT); 190 bcopy(frame_header, m->m_data, ifnet_hdrlen(ifp)); 293 ndrv_event(struct ifnet *ifp, __unused protocol_family_t protocol, argument 302 ndrv_handle_ifp_detach(ifnet_family(ifp), ifnet_uni 157 ndrv_input( ifnet_t ifp, protocol_family_t proto_family, mbuf_t m, char *frame_header) argument 320 struct ifnet *ifp; local 535 struct ifnet * ifp; local 618 name_cmp(struct ifnet *ifp, char *q) argument 809 ndrv_find_inbound(struct ifnet *ifp, u_long protocol) argument 838 struct ifnet *ifp = NULL; local [all...] |
H A D | if_var.h | 112 * (*ifp->if_output)(ifp, m, dst, rt) 491 * Output queues (ifp->if_snd) and slow device input queues (*ifp->if_slowq) 616 u_int ifma_usecount; /* use count, protected by ifp's lock */ 649 void if_updown(struct ifnet *ifp, int up); 659 void ifnet_lock_assert(struct ifnet *ifp, int what); 660 void ifnet_lock_shared(struct ifnet *ifp); 661 void ifnet_lock_exclusive(struct ifnet *ifp); 662 void ifnet_lock_done(struct ifnet *ifp); [all...] |
/macosx-10.5.8/xnu-1228.15.4/bsd/netinet6/ |
H A D | nd6_nbr.c | 100 struct ifnet *ifp = m->m_pkthdr.rcvif; local 132 ip6_sprintf(&ip6->ip6_dst), if_name(ifp))); 157 taddr6.s6_addr16[1] = htons(ifp->if_index); 190 ifa = (struct ifaddr *)in6ifa_ifpwithaddr(ifp, &daddr6); 207 ifa = (struct ifaddr *)in6ifa_ifpwithaddr(ifp, &taddr6); 225 ifa = (struct ifaddr *)in6ifa_ifpforlinklocal(ifp, 249 if (lladdr && ((ifp->if_addrlen + 2 + 7) & ~7) != lladdrlen) { 253 ip6_sprintf(&taddr6), ifp->if_addrlen, lladdrlen - 2)); 300 saddr6.s6_addr16[1] = htons(ifp->if_index); 301 nd6_na_output(ifp, 338 nd6_ns_output( struct ifnet *ifp, const struct in6_addr *daddr6, const struct in6_addr *taddr6, struct llinfo_nd6 *ln, int dad, int locked) argument 544 struct ifnet *ifp = m->m_pkthdr.rcvif; local 841 nd6_na_output( struct ifnet *ifp, const struct in6_addr *daddr6, const struct in6_addr *taddr6, u_long flags, int tlladdr, struct sockaddr *sdl0) argument 985 nd6_ifptomac( struct ifnet *ifp) argument 1343 struct ifnet *ifp = ifa->ifa_ifp; local [all...] |
H A D | in6_prefix.c | 157 in6_prefixwithifp(struct ifnet *ifp, int plen, struct in6_addr *dst) argument 162 ifnet_lock_shared(ifp); 163 for (ifpr = TAILQ_FIRST(&ifp->if_prefixhead); ifpr; 172 ifnet_lock_done(ifp); 181 search_matched_prefix(struct ifnet *ifp, struct in6_prefixreq *ipr) argument 188 ifpr = in6_prefixwithifp(ifp, ipr->ipr_plen, 198 ifnet_lock_shared(ifp); 199 TAILQ_FOREACH(ifa, &ifp->if_addrlist, ifa_list) 208 ifnet_lock_done(ifp); 214 ifnet_lock_done(ifp); 242 mark_matched_prefixes(u_long cmd, struct ifnet *ifp, struct in6_rrenumreq *irr) argument 303 delmark_global_prefixes(struct ifnet *ifp, __unused struct in6_rrenumreq *irr) argument 325 unmark_prefixes(struct ifnet *ifp) argument 581 in6_purgeprefix( struct ifnet *ifp) argument 783 struct ifnet *ifp = rpp->rp_ifp; local 839 struct ifnet *ifp = rpp->rp_ifp; local 953 add_useprefixes(struct socket *so, struct ifnet *ifp, struct in6_rrenumreq *irr) argument 1035 delete_prefixes(struct ifnet *ifp, u_char origin) argument 1093 in6_prefix_ioctl(struct socket *so, u_long cmd, caddr_t data, struct ifnet *ifp) argument [all...] |
H A D | mld6.c | 198 struct ifnet *ifp = m->m_pkthdr.rcvif; local 245 if (ifp->if_flags & IFF_LOOPBACK) 253 htons(ifp->if_index); /* XXX */ 265 ifnet_lock_exclusive(ifp); 266 IFP_TO_IA6(ifp, ia); 280 htons(ifp->if_index); /* XXX */ 282 LIST_FOREACH(ifma, &ifp->if_multiaddrs, ifma_link) 312 ifnet_lock_done(ifp); 324 * ifp for this purpose, since ip6_mloopback pass the physical 335 htons(ifp 400 struct ifnet *ifp = in6m->in6m_ifp; local [all...] |
H A D | nd6.h | 195 #define ND_IFINFO(ifp) \ 196 (&nd_ifinfo[(ifp)->if_index]) 200 * if (ND_IFINFO(ifp)->linkmtu && ND_IFINFO(ifp)->linkmtu < ifp->if_mtu) 201 * linkmtu = ND_IFINFO(ifp)->linkmtu; 202 * else if ((ND_IFINFO(ifp)->maxmtu && ND_IFINFO(ifp)->maxmtu < ifp->if_mtu)) 203 * linkmtu = ND_IFINFO(ifp) 237 struct ifnet *ifp; member in struct:nd_defrouter [all...] |
H A D | in6_src.c | 197 struct ifnet *ifp = mopts ? mopts->im6o_multicast_ifp : NULL; local 199 if (ifp == NULL && IN6_IS_ADDR_MC_NODELOCAL(dst)) { 200 ifp = lo_ifp; 203 if (ifp) { 204 ia6 = in6_ifawithscope(ifp, dst); 337 struct ifnet *ifp) 341 else if (ifp) 342 return(nd_ifinfo[ifp->if_index].chlim); 473 * XXX actually, it is over-specification to return ifp against sin6_scope_id. 476 * we may want to change the function to return something other than ifp 335 in6_selecthlim( struct in6pcb *in6p, struct ifnet *ifp) argument 491 struct ifnet *ifp = NULL; local 554 in6_recoverscope( struct sockaddr_in6 *sin6, const struct in6_addr *in6, struct ifnet *ifp) argument [all...] |
H A D | in6_gif.c | 85 struct ifnet *ifp, 90 struct gif_softc *sc = ifnet_softc(ifp); 169 if (ifp->if_flags & IFF_LINK1) 180 sc->gif_ro6.ro_rt->rt_ifp == ifp))) { 203 if (sc->gif_ro6.ro_rt->rt_ifp == ifp) { 208 ifp->if_mtu = sc->gif_ro6.ro_rt->rt_ifp->if_mtu 308 struct ifnet *ifp) 327 if ((ifnet_flags(sc->gif_if) & IFF_LINK2) == 0 && ifp) { 340 if (!rt || rt->rt_ifp != ifp) { 370 struct ifnet *ifp; local 84 in6_gif_output( struct ifnet *ifp, int family, struct mbuf *m, __unused struct rtentry *rt) argument 305 gif_validate6( const struct ip6_hdr *ip6, struct gif_softc *sc, struct ifnet *ifp) argument [all...] |
H A D | nd6_rtr.c | 143 struct ifnet *ifp = m->m_pkthdr.rcvif; local 161 if (ip6_accept_rtadv != 0 || (ifp->if_eflags & IFEF_ACCEPT_RTADVD) || ip6_forwarding != 1) 169 ip6_sprintf(&ip6->ip6_dst), if_name(ifp))); 205 if (lladdr && ((ifp->if_addrlen + 2 + 7) & ~7) != lladdrlen) { 209 ip6_sprintf(&saddr6), ifp->if_addrlen, lladdrlen - 2)); 213 nd6_cache_lladdr(ifp, &saddr6, lladdr, lladdrlen, ND_ROUTER_SOLICIT, 0); 237 struct ifnet *ifp = m->m_pkthdr.rcvif; local 238 struct nd_ifinfo *ndi = &nd_ifinfo[ifp->if_index]; 254 if (ip6_accept_rtadv == 0 && ((ifp->if_eflags & IFEF_ACCEPT_RTADVD) == 0)) 261 ip6_sprintf(&ip6->ip6_dst), if_name(ifp))); 528 defrouter_addifreq( struct ifnet *ifp) argument 579 defrouter_lookup( struct in6_addr *addr, struct ifnet *ifp) argument 925 purge_detached(struct ifnet *ifp) argument 1088 struct ifnet *ifp = new->ndpr_ifp; local 1569 struct ifnet *ifp = pr->ndpr_ifp; local 1699 struct ifnet *ifp = pr->ndpr_ifp; local 1793 struct ifnet *ifp = pr->ndpr_ifp; local 1932 struct ifnet *ifp = ia0->ia_ifa.ifa_ifp; local 2100 rt6_flush( struct in6_addr *gateway, struct ifnet *ifp) argument [all...] |
H A D | ip6_mroute.c | 513 struct ifnet *ifp; 518 ifp = mif6table[mifi].m6_ifp; 519 ifnet_ioctl(ifp, 0, SIOCDELMULTI, &ifr); 592 struct ifnet *ifp; local 605 ifp = ifindex2ifnet[mifcp->mif6c_pifi]; 615 ifp = &multicast_register_if; 620 if ((ifp->if_flags & IFF_MULTICAST) == 0) 623 error = if_allmulti(ifp, 1); 629 mifp->m6_ifp = ifp; 649 ifp 664 struct ifnet *ifp; local 1449 struct ifnet *ifp = mifp->m6_ifp; local [all...] |
/macosx-10.5.8/xnu-1228.15.4/bsd/netat/ |
H A D | at.c | 133 * ifp is 0 if not an interface-specific ioctl. 137 at_control(so, cmd, data, ifp) 141 struct ifnet *ifp; 171 if (ifp) 173 if (at_interfaces[pat_id].aa_ifp == ifp) { 581 ifID->aa_ifp = ifp; 583 error = proto_plumb(PF_APPLETALK, ifp); 594 ifnet_lock_exclusive(ifp); 595 TAILQ_FOREACH(ifa, &ifp->if_addrhead, ifa_link) 615 if_attach_ifa(ifp, if 711 atalk_post_msg(struct ifnet *ifp, u_long event_code, struct at_addr *address, at_nvestr_t *zone) argument [all...] |