Home
last modified time | relevance | path

Searched refs:ifaddr (Results 1 – 25 of 56) sorted by relevance

123

/xnu-11215/bsd/netinet/
H A Din_var.h103 __ifatoia_const(const struct ifaddr *ifa) in __ifatoia_const()
109 __ifatoia(struct ifaddr *ifa) in __ifatoia()
116 const struct ifaddr * __single : __ifatoia_const, \
117 const struct ifaddr * __bidi_indexable : __ifatoia_const, \
118 const struct ifaddr * __indexable : __ifatoia_const, \
119 struct ifaddr * __single : __ifatoia, \
120 struct ifaddr * __bidi_indexable : __ifatoia, \
121 struct ifaddr * __indexable : __ifatoia) \
125 const struct ifaddr * : __ifatoia_const, \
126 struct ifaddr * : __ifatoia) \
[all …]
H A Dif_ether.h151 void arp_ifinit(struct ifnet *, struct ifaddr *);
H A Din.c135 static void in_ifaddr_free(struct ifaddr *);
559 struct ifaddr *__single ifa; in inctl_ifaddr()
1137 struct ifaddr *__single ifa; in in_control()
1659 struct ifaddr *__single ifa0; in in_ifinit()
1864 struct ifaddr *__single ifa; in in_broadcast()
1911 struct ifaddr **__counted_by(addresses_count) ifap = NULL; in in_purgeaddrs()
1932 struct ifaddr *__single ifa; in in_purgeaddrs()
1992 in_ifaddr_free(struct ifaddr *ifa) in in_ifaddr_free()
2177 struct ifaddr *__single ifa; in inifa_ifpwithflag()
2202 struct ifaddr *__single ifa; in inifa_ifpclatv4()
H A Dudp_var.h180 extern uint32_t udp_find_anypcb_byaddr(struct ifaddr *);
H A Dip_output.c155 static struct ifaddr *in_selectsrcif(struct ip *, struct route *, unsigned int);
691 struct ifaddr *ia0 = NULL; in ip_output_list()
3100 static struct ifaddr *
3103 struct ifaddr *ifa = NULL; in in_selectsrcif()
3149 ifa = (struct ifaddr *)ifa_foraddr_scoped(src.s_addr, scope); in in_selectsrcif()
3159 ifa = (struct ifaddr *)ifa_foraddr(src.s_addr); in in_selectsrcif()
3192 ifa = (struct ifaddr *)ifa_foraddr(src.s_addr); in in_selectsrcif()
3203 struct ifaddr *oifa = NULL; in in_selectsrcif()
3233 struct ifaddr *iifa; in in_selectsrcif()
3240 iifa = (struct ifaddr *)ifa_foraddr_scoped( in in_selectsrcif()
H A Din_rmx.c729 struct ifaddr *ifa;
793 in_ifadown(struct ifaddr *ifa, int delete) in in_ifadown()
/xnu-11215/bsd/net/
H A Dif_var_private.h484 struct ifaddr;
499 TAILQ_HEAD(ifaddrhead, ifaddr);
1100 struct ifaddr { struct
1109 TAILQ_ENTRY(ifaddr) ifa_link; /* queue macro glue */ argument
1159 ifa_addref(struct ifaddr *ifa) in ifa_addref()
1164 __private_extern__ void ifa_deallocated(struct ifaddr *ifa);
1167 ifa_remref(struct ifaddr *ifa) in ifa_remref()
1528 extern struct ifaddr *ifa_ifwithroute_scoped_locked(int,
1533 extern void ifa_initref(struct ifaddr *);
1534 extern void ifa_lock_init(struct ifaddr *);
[all …]
H A Droute_private.h111 struct ifaddr *ro_srcia;
169 struct ifaddr *rt_ifa; /* the answer: interface addr to use */
447 extern void rt_newaddrmsg(u_char, struct ifaddr *, int, struct rtentry *);
475 extern void rtsetifa(struct rtentry *, struct ifaddr *);
476 extern int rtinit(struct ifaddr *, uint8_t, int);
477 extern int rtinit_locked(struct ifaddr *, uint8_t, int);
509 extern boolean_t rt_ifa_is_dst(struct sockaddr *, struct ifaddr *);
H A Dif.c1031 struct ifaddr *ifa; in ifa_ifpgetprimary()
1064 struct ifaddr *
1105 struct ifaddr *
1154 struct ifaddr *
1169 struct ifaddr *
1192 struct ifaddr *
1247 struct ifaddr *
1261 struct ifaddr *
1267 struct ifaddr *
1410 struct ifaddr *
[all …]
H A Dkpi_interface.h3105 extern errno_t ifaddr_reference(ifaddr_t ifaddr)
3115 extern errno_t ifaddr_release(ifaddr_t ifaddr)
3126 extern errno_t ifaddr_address(ifaddr_t ifaddr, struct sockaddr *out_addr,
3136 extern sa_family_t ifaddr_address_family(ifaddr_t ifaddr)
3147 extern errno_t ifaddr_dstaddress(ifaddr_t ifaddr, struct sockaddr *out_dstaddr,
3159 extern errno_t ifaddr_netmask(ifaddr_t ifaddr, struct sockaddr *out_netmask,
3173 extern ifnet_t ifaddr_ifnet(ifaddr_t ifaddr)
3246 extern errno_t ifaddr_get_ia6_flags(ifaddr_t ifaddr, u_int32_t *out_flags);
H A Droute.c1237 struct ifaddr *rt_ifa; in rtfree_common()
1416 rtsetifa(struct rtentry *rt, struct ifaddr *ifa) in rtsetifa()
1458 struct ifaddr *ifa = NULL; in rtredirect()
1619 struct ifaddr *
1625 struct ifaddr *ifa; in ifa_ifwithroute()
1634 struct ifaddr *
1642 struct ifaddr *
1655 static struct ifaddr *
1659 struct ifaddr *ifa = NULL; in ifa_ifwithroute_common_locked()
1759 struct ifaddr *newifa; in ifa_ifwithroute_common_locked()
[all …]
H A Dif_stf.c449 struct ifaddr *__single ia; in stf_getsrcifa6()
850 struct ifaddr *__single ifa; in stf_ioctl()
858 ifa = (struct ifaddr *)data; in stf_ioctl()
H A Dether_inet_pr_module.c341 struct ifaddr *ifa __single = data; in ether_inet_prmod_ioctl()
487 struct ifaddr *ifa; in ether_inet_arp()
H A Drtsock.c637 struct ifaddr *ifa2; in route_output()
969 struct ifaddr *ifa = NULL; in rt_setif()
1050 struct ifaddr *oifa = rt->rt_ifa; in rt_setif()
1573 rt_newaddrmsg(u_char cmd, struct ifaddr *ifa, int error, struct rtentry *rt) in rt_newaddrmsg()
1917 is_clat46_address(struct ifaddr *ifa) in is_clat46_address()
1946 struct ifaddr *ifa; in sysctl_iflist()
2127 struct ifaddr *ifa; in sysctl_iflist2()
2271 struct ifaddr *ifa0; in sysctl_iflist2()
/xnu-11215/bsd/sys/
H A Dkernel_types.h115 __CCT_DECLARE_CONSTRAINED_PTR_TYPES(struct __ifaddr, ifaddr);
168 typedef struct ifaddr* ifaddr_t;
180 __CCT_DECLARE_CONSTRAINED_PTR_TYPES(struct ifaddr, ifaddr);
/xnu-11215/bsd/netinet6/
H A Din6_var.h192 __ifatoia6_const(const struct ifaddr *ifa) in __ifatoia6_const()
198 __ifatoia6(struct ifaddr *ifa) in __ifatoia6()
205 const struct ifaddr * __single : __ifatoia6_const, \
206 const struct ifaddr * __bidi_indexable : __ifatoia6_const, \
207 const struct ifaddr * __indexable : __ifatoia6_const, \
208 struct ifaddr * __single : __ifatoia6, \
209 struct ifaddr * __bidi_indexable : __ifatoia6, \
210 struct ifaddr * __indexable : __ifatoia6) \
214 const struct ifaddr * : __ifatoia6_const, \
215 struct ifaddr * : __ifatoia6) \
[all …]
H A Dnd6_nbr.c106 void nd6_dad_stoptimer(struct ifaddr *);
107 static void nd6_dad_timer(struct ifaddr *);
277 struct ifaddr *__single ifa = NULL; in nd6_ns_input()
1652 struct ifaddr *dad_ifa;
1737 struct ifaddr *ifa) in nd6_dad_stoptimer()
1747 struct ifaddr *ifa, in nd6_dad_start()
1890 nd6_dad_stop(struct ifaddr *ifa) in nd6_dad_stop()
1937 nd6_dad_timer(struct ifaddr *ifa) in nd6_dad_timer()
2105 nd6_dad_duplicated(struct ifaddr *ifa) in nd6_dad_duplicated()
2327 struct ifaddr *__single ifa = NULL; in nd6_dad_na_input()
[all …]
H A Din6.c2089 struct ifaddr *__single ifa; in in6_ifaupdate_aux()
2431 struct ifaddr *__single ifa; in in6_update_ifa()
2432 struct ifaddr *__single xifa; in in6_update_ifa()
2791 struct ifaddr *__single ifa; in in6_unlink_ifa()
2937 struct ifaddr *__single ifa; in in6_ifinit()
3033 struct ifaddr *__single ifa; in in6ifa_ifpforlinklocal()
3063 struct ifaddr *__single ifa; in in6ifa_ifpwithflag()
3091 struct ifaddr *__single ifa; in in6ifa_ifpwithaddr()
3415 struct ifaddr *__single ifa; in in6_ifawithscope()
3725 struct ifaddr *__single ifa; in in6_ifawithifp()
[all …]
H A Din6_src.c218 struct ifaddr *
225 struct ifaddr *__single ifa = NULL; in in6_selectsrc_core_ifa()
274 struct ifnet **sifp, int *errorp, struct ifaddr **ifapp, struct route_in6 *ro, in in6_selectsrc_core()
939 struct ifaddr *__single ifa = NULL; in selectroute()
1117 ifa = (struct ifaddr *) in selectroute()
1126 ifa = (struct ifaddr *) in selectroute()
1163 struct ifaddr *__single ifadst; in selectroute()
1166 ifadst = (struct ifaddr *)ifa_foraddr6(&dstsock->sin6_addr); in selectroute()
1172 ifa = (struct ifaddr *)ifa_foraddr6(&srcsock->sin6_addr); in selectroute()
H A Dip6_var.h608 extern struct ifaddr * in6_selectsrc_core_ifa(struct sockaddr_in6 *, struct ifnet *);
611 struct ifnet **, int *, struct ifaddr **, struct route_in6 *, boolean_t);
H A Din6_private.h154 struct ifaddr *ro_srcia;
/xnu-11215/tests/
H A Daqm_qdelay_utun.c194 uint32_t ifaddr = (10 << 24) | ((unsigned)getpid() & 0xffff) << 8 | 160; variable
196 tun_addr1.s_addr = htonl(ifaddr);
197 tun_addr2.s_addr = htonl(ifaddr + 1);
/xnu-11215/bsd/skywalk/namespace/
H A Dnetns.h208 netns_find_anyres_byaddr(struct ifaddr *ifa, uint8_t proto);
/xnu-11215/tools/lldbmacros/
H A Dnet.py271 for ifaddr in IterateTAILQ_HEAD(ifp.if_addrhead, "ifa_link"):
273 … print(format_string.format(i, ifaddr, GetSocketAddrAsString(ifaddr.ifa_addr), ifaddr.ifa_refcnt))
283 for ifaddr in IterateTAILQ_HEAD(ifp.if_addrhead, "ifa_link"):
285 …out_string += format_string.format(i, ifaddr, GetSocketAddrAsString(ifaddr.ifa_addr), ifaddr.ifa_r…
/xnu-11215/bsd/skywalk/nexus/flowswitch/flow/
H A Dflow_route.c1225 struct ifaddr *__single ifa = NULL; in flow_route_select_laddr()
1386 struct ifaddr *ifa = NULL; in _flow_route_laddr_validate()
1396 ifa = (struct ifaddr *)ifa_foraddr_scoped( in _flow_route_laddr_validate()
1404 ifa = (struct ifaddr *)ifa_foraddr6_scoped(&src_ip._v6, in _flow_route_laddr_validate()

123