Searched refs:ifaddr (Results 1 - 25 of 47) sorted by relevance

12

/darwin-on-arm/xnu/bsd/net/
H A Dif_var.h435 struct ifaddr;
447 TAILQ_HEAD(ifaddrhead, ifaddr);
520 struct ifaddr *if_lladdr; /* link address (first/permanent) */
737 * The ifaddr structure contains information about one address
742 struct ifaddr { struct
743 decl_lck_mtx_data(, ifa_lock); /* lock for ifaddr */
751 TAILQ_ENTRY(ifaddr) ifa_link; /* queue macro glue */
756 void (*ifa_free)(struct ifaddr *); /* callback fn for freeing */
758 (struct ifaddr *, int);
759 void (*ifa_attached)(struct ifaddr *); /* callbac
[all...]
H A Droute.h172 struct ifaddr *rt_ifa; /* the answer: interface addr to use */
392 * Generic call trace used by some subsystems (e.g. route, ifaddr)
494 extern void rt_newaddrmsg(int, struct ifaddr *, int, struct rtentry *);
520 extern void rtsetifa(struct rtentry *, struct ifaddr *);
521 extern int rtinit(struct ifaddr *, int, int);
522 extern int rtinit_locked(struct ifaddr *, int, int);
H A Dkpi_interface.h1292 to fill out the first ifaddr in the list of addresses for the
2434 @param ifaddr The interface address.
2437 extern errno_t ifaddr_reference(ifaddr_t ifaddr);
2443 @param ifaddr The interface address.
2446 extern errno_t ifaddr_release(ifaddr_t ifaddr);
2450 @discussion Copies the address out of the ifaddr.
2451 @param ifaddr The interface address.
2456 extern errno_t ifaddr_address(ifaddr_t ifaddr, struct sockaddr *out_addr,
2462 @param ifaddr The interface address.
2465 extern sa_family_t ifaddr_address_family(ifaddr_t ifaddr);
[all...]
H A Dif.c138 /* Lock group and attribute for ifaddr lock */
161 MALLOC_DEFINE(M_IFADDR, "ifaddr", "interface address");
168 static struct ifaddr *ifa_ifwithnet_common(const struct sockaddr *,
170 static void if_attach_ifa_common(struct ifnet *, struct ifaddr *, int);
171 static void if_detach_ifa_common(struct ifnet *, struct ifaddr *, int);
228 /* Setup lock group and attribute for ifaddr */
230 ifa_mtx_grp = lck_grp_alloc_init("ifaddr", ifa_mtx_grp_attr);
259 struct ifaddr **ifnet_addrs;
263 if_attach_ifa(struct ifnet *ifp, struct ifaddr *ifa)
269 if_attach_link_ifa(struct ifnet *ifp, struct ifaddr *if
[all...]
H A Droute.c305 static struct ifaddr *ifa_ifwithroute_common_locked(int,
1051 struct ifaddr *rt_ifa;
1198 rtsetifa(struct rtentry *rt, struct ifaddr* ifa)
1237 struct ifaddr *ifa = NULL;
1391 struct ifaddr *
1397 struct ifaddr *ifa;
1406 struct ifaddr *
1414 struct ifaddr *
1426 static struct ifaddr *
1430 struct ifaddr *if
[all...]
H A Dif_stf.c460 struct ifaddr *ia;
850 struct ifaddr *ifa;
858 ifa = (struct ifaddr *)data;
H A Dether_inet_pr_module.c320 case SIOCSIFADDR: /* struct ifaddr pointer */
321 case SIOCAIFADDR: { /* struct ifaddr pointer */
324 * struct ifaddr as parameter to SIOC{A,S}IFADDR, for
327 struct ifaddr *ifa = data;
470 struct ifaddr *ifa;
H A Drtsock.c571 struct ifaddr *ifa2;
828 struct ifaddr *ifa = NULL;
852 * New gateway could require new ifaddr, ifp; flags may also
902 struct ifaddr *oifa = rt->rt_ifa;
1262 rt_newaddrmsg(int cmd, struct ifaddr *ifa, int error, struct rtentry *rt)
1515 struct ifaddr *ifa;
1644 struct ifaddr *ifa;
1747 struct ifaddr *ifa0;
H A Dkpi_interface.c1269 struct ifaddr *ifal_ifa;
1318 struct ifaddr *ifa;
1392 struct ifaddr *ifa;
1441 struct ifaddr *ifa;
1468 struct ifaddr *ifa;
1622 struct ifaddr *ifa;
/darwin-on-arm/xnu/bsd/netinet6/
H A Dnd6_nbr.c105 static struct dadq *nd6_dad_find(struct ifaddr *);
106 void nd6_dad_stoptimer(struct ifaddr *);
107 static void nd6_dad_timer(struct ifaddr *);
108 static void nd6_dad_ns_output(struct dadq *, struct ifaddr *);
109 static void nd6_dad_ns_input(struct ifaddr *);
110 static void nd6_dad_na_input(struct ifaddr *, caddr_t, int);
113 static struct dadq *nd6_dad_attach(struct dadq *, struct ifaddr *);
114 static void nd6_dad_detach(struct dadq *, struct ifaddr *);
263 struct ifaddr *ifa = NULL;
382 ifa = (struct ifaddr *)in6ifa_ifpwithadd
[all...]
H A Din6.c181 static void in6_ifaddr_attached(struct ifaddr *);
182 static void in6_ifaddr_detached(struct ifaddr *);
183 static void in6_ifaddr_free(struct ifaddr *);
184 static void in6_ifaddr_trace(struct ifaddr *, int);
239 in6_ifloop_request(int cmd, struct ifaddr *ifa)
312 in6_ifaddloop(struct ifaddr *ifa)
341 in6_ifremloop(struct ifaddr *ifa)
1197 " no ifaddr\n");
1457 struct ifaddr *ifa = NULL;
1583 * If this is a new address, allocate a new ifaddr an
[all...]
H A Din6_var.h142 * The ifaddr structure contains the protocol-independent part
146 struct ifaddr ia_ifa; /* protocol-independent info */
433 * Given a pointer to an in6_ifaddr (ifaddr),
683 struct ifaddr *_ifa; \
937 extern void in6_purgeaddr(struct ifaddr *);
H A Dnd6.h809 extern void nd6_dad_start(struct ifaddr *, int *);
810 extern void nd6_dad_stop(struct ifaddr *);
811 extern void nd6_dad_duplicated(struct ifaddr *, boolean_t);
H A Din6_prefix.c213 struct ifaddr *ifa;
281 struct ifaddr *ifa;
1197 struct ifaddr *ifa;
1250 struct ifaddr *ifa;
H A Din6_src.c582 struct ifaddr *ifa = NULL;
734 ifa = (struct ifaddr *)
743 ifa = (struct ifaddr *)
777 ifa = (struct ifaddr *)ifa_foraddr6(&srcsock->sin6_addr);
/darwin-on-arm/xnu/bsd/netinet/
H A Dif_ether.h151 void arp_ifinit(struct ifnet *, struct ifaddr *);
H A Din.c127 static void in_ifaddr_attached(struct ifaddr *);
128 static void in_ifaddr_detached(struct ifaddr *);
129 static void in_ifaddr_free(struct ifaddr *);
130 static void in_ifaddr_trace(struct ifaddr *, int);
374 struct ifaddr *ifa;
737 * to the interface with a pointer to struct ifaddr,
1147 * to the interface with a pointer to struct ifaddr,
1248 struct ifaddr *ifa;
1574 struct ifaddr *ifa0;
1620 * to the interface with a pointer to struct ifaddr,
[all...]
H A Din_var.h79 * The ifaddr structure contains the protocol-independent part
83 struct ifaddr ia_ifa; /* protocol-independent info */
165 * Given a pointer to an in_ifaddr (ifaddr),
497 extern int in_ifadown(struct ifaddr *ifa, int);
H A Din_rmx.c531 struct ifaddr *ifa;
570 in_ifadown(struct ifaddr *ifa, int delete)
H A Dip_output.c156 static struct ifaddr *in_selectsrcif(struct ip *, struct route *, unsigned int);
627 struct ifaddr *ifa;
3100 static struct ifaddr *
3103 struct ifaddr *ifa = NULL;
3145 ifa = (struct ifaddr *)ifa_foraddr_scoped(src.s_addr, scope);
3155 ifa = (struct ifaddr *)ifa_foraddr(src.s_addr);
3188 ifa = (struct ifaddr *)ifa_foraddr(src.s_addr);
3199 struct ifaddr *oifa = NULL;
3213 * the ifaddr that we pick up here is not
3229 struct ifaddr *iif
[all...]
H A Dtcp_usrreq.c896 struct sockaddr_in ifaddr; local
913 error = in_pcbladdr(inp, nam, &ifaddr, &outif);
921 : ifaddr.sin_addr,
949 if ((inp->inp_laddr.s_addr == INADDR_ANY ? ifaddr.sin_addr.s_addr :
960 inp->inp_laddr = ifaddr.sin_addr;
H A Dip_divert.c231 struct ifaddr *ifa;
406 struct ifaddr *ifa;
H A Din_pcb.c476 struct ifaddr *ifa;
899 struct sockaddr_in ifaddr; local
907 if ((error = in_pcbladdr(inp, nam, &ifaddr, outif)) != 0)
912 inp->inp_laddr.s_addr ? inp->inp_laddr : ifaddr.sin_addr,
940 inp->inp_laddr = ifaddr.sin_addr;
/darwin-on-arm/xnu/bsd/sys/
H A Dkernel_types.h123 typedef struct ifaddr* ifaddr_t;
/darwin-on-arm/xnu/bsd/netat/
H A Dat_var.h158 * The ifaddr structure contains the protocol-independent part
163 struct ifaddr aa_ifa;

Completed in 226 milliseconds

12