Searched refs:ifscope (Results 1 - 9 of 9) sorted by relevance

/macosx-10.5.8/xnu-1228.15.4/bsd/net/
H A Droute.c212 __uint32_t ifscope; member in struct:sockaddr_inifscope::__anon225::__anon226
215 #define sin_ifscope un._in_index.ifscope
232 unsigned int ifscope; /* interface scope */ member in struct:matchleaf_arg
268 * Set the ifscope of the primary interface; caller holds rt_mtx.
271 set_primary_ifscope(unsigned int ifscope) argument
273 primary_ifscope = ifscope;
277 * Return the ifscope of the primary interface; caller holds rt_mtx.
286 * Embed ifscope into a given a sockaddr_in.
289 sa_set_ifscope(struct sockaddr *sa, unsigned int ifscope) argument
294 SINIFSCOPE(sa)->sin_ifscope = ifscope;
313 sin_copy(struct sockaddr_in *src, struct sockaddr_in *dst, unsigned int ifscope) argument
316 sa_set_ifscope(SA(dst), ifscope); local
325 mask_copy(struct sockaddr *src, struct sockaddr_in *dst, unsigned int ifscope) argument
430 rtalloc_scoped_ign_locked(struct route *ro, u_long ignore, unsigned int ifscope) argument
436 rtalloc_ign_common_locked(struct route *ro, u_long ignore, unsigned int ifscope) argument
467 rtalloc1_scoped_locked(struct sockaddr *dst, int report, u_long ignflags, unsigned int ifscope) argument
478 rtalloc1_common_locked(struct sockaddr *dst, int report, u_long ignflags, unsigned int ifscope) argument
811 unsigned int ifscope = (ifp != NULL) ? ifp->if_index : IFSCOPE_NONE; local
964 ifa_ifwithroute_scoped_locked(int flags, const struct sockaddr *dst, const struct sockaddr *gateway, unsigned int ifscope) argument
976 ifa_ifwithroute_common_locked(int flags, const struct sockaddr *dst, const struct sockaddr *gateway, unsigned int ifscope) argument
1093 rtrequest_scoped_locked(int req, struct sockaddr *dst, struct sockaddr *gateway, struct sockaddr *netmask, int flags, struct rtentry **ret_nrt, unsigned int ifscope) argument
1122 rtrequest_common_locked(int req, struct sockaddr *dst0, struct sockaddr *gateway, struct sockaddr *netmask, int flags, struct rtentry **ret_nrt, unsigned int ifscope) argument
1599 unsigned int ifscope; local
1749 node_lookup(struct sockaddr *dst, struct sockaddr *netmask, unsigned int ifscope) argument
1816 rt_lookup(boolean_t lookup_only, struct sockaddr *dst, struct sockaddr *netmask, struct radix_node_head *rnh, unsigned int ifscope) argument
[all...]
H A Drtsock.c314 unsigned int ifscope = IFSCOPE_NONE; local
416 ifscope = rtm->rtm_index;
454 netmask, rtm->rtm_flags, &saved_nrt, ifscope);
486 ifscope);
500 gate, netmask, rtm->rtm_flags, &saved_nrt, ifscope);
517 rt = rt_lookup(TRUE, dst, netmask, rnh, ifscope);
584 ifscope);
689 struct sockaddr *Gate, unsigned int ifscope)
705 if (Ifpaddr && (ifa = ifa_ifwithnet_scoped(Ifpaddr, ifscope)) &&
724 (ifa = ifa_ifwithaddr_scoped(Ifaaddr, ifscope))) {
688 rt_setif(struct rtentry *rt, struct sockaddr *Ifpaddr, struct sockaddr *Ifaaddr, struct sockaddr *Gate, unsigned int ifscope) argument
[all...]
H A Dif.c652 ifa_ifwithaddr_scoped(const struct sockaddr *addr, unsigned int ifscope) argument
657 if (ifscope == IFSCOPE_NONE)
661 if (ifscope > (unsigned int)if_index) {
666 ifp = ifindex2ifnet[ifscope];
708 ifa_ifwithnet_scoped(const struct sockaddr *addr, unsigned int ifscope) argument
710 return (ifa_ifwithnet_common(addr, ifscope));
718 ifa_ifwithnet_common(const struct sockaddr *addr, unsigned int ifscope) argument
727 ifscope = IFSCOPE_NONE;
789 if (ifscope != IFSCOPE_NONE &&
790 ifp->if_index != ifscope)
[all...]
/macosx-10.5.8/xnu-1228.15.4/bsd/netinet/
H A Dip_output.c266 unsigned int ifscope; local
340 ifscope = ipoa->ipoa_ifscope;
343 ifscope = IFSCOPE_NONE;
516 ifa = in_selectsrcif(ip, ro, ifscope);
526 ifscope != lo_ifp->if_index) {
547 if (ifscope == IFSCOPE_NONE)
548 ifscope = ifa->ifa_ifp->if_index;
587 rtalloc_scoped_ign_locked(ro, ign, ifscope);
2046 unsigned int ifscope; local
2070 ifscope
3019 in_selectsrcif(struct ip *ip, struct route *ro, unsigned int ifscope) argument
3174 ip_bindif(struct inpcb *inp, unsigned int ifscope) argument
[all...]
H A Dtcp_timer.c803 unsigned int ifscope; local
806 ifscope = tp->t_inpcb->inp_boundif;
808 ifscope = IFSCOPE_NONE;
812 tp->rcv_nxt, tp->snd_una - 1, 0, ifscope);
H A Din_arp.c376 unsigned int ifscope)
389 create, 0, ifscope);
421 log(LOG_DEBUG, "arplookup link#%d %s failed: %s\n", ifscope,
371 arp_lookup_route( const struct in_addr *addr, int create, int proxy, route_t *route, unsigned int ifscope) argument
H A Dtcp_subr.c480 unsigned int ifscope
660 struct ip_out_args ipoa = { ifscope };
1646 unsigned int ifscope;
1660 ifscope = (inp->inp_flags & INP_BOUND_IF) ?
1663 rtalloc_scoped_ign_locked(ro, 0UL, ifscope);
H A Din_pcb.c624 unsigned int ifscope; local
627 ifscope = (inp->inp_flags & INP_BOUND_IF) ?
654 rtalloc_scoped_ign_locked(ro, 0UL, ifscope);
674 ifscope));
H A Dtcp_input.c555 unsigned int ifscope; local
565 ifscope = m->m_pkthdr.rcvif->if_index;
567 ifscope = IFSCOPE_NONE;
844 ifscope = inp->inp_boundif;
1388 tcp_dooptions(tp, optp, optlen, th, &to, ifscope);
1403 tcp_mss(tp, to.to_mss, ifscope);
1749 tcp_dooptions(tp, optp, optlen, th, &to, ifscope);
3107 TH_RST, ifscope);
3113 (tcp_seq)0, TH_RST|TH_ACK, ifscope);

Completed in 111 milliseconds