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

12345

/freebsd-10.0-release/sys/netinet/
H A Dip_carp.h140 int carp_attach(struct ifaddr *, int);
141 void carp_detach(struct ifaddr *);
147 int carp_master(struct ifaddr *);
148 int carp_iamatch(struct ifaddr *, uint8_t **);
149 struct ifaddr *carp_iamatch6(struct ifnet *, struct in6_addr *);
156 extern int (*carp_attach_p)(struct ifaddr *, int);
157 extern void (*carp_detach_p)(struct ifaddr *);
160 extern int (*carp_master_p)(struct ifaddr *);
167 extern int (*carp_get_vhid_p)(struct ifaddr *);
170 extern int (*carp_iamatch_p)(struct ifaddr *, uint8_
[all...]
H A Dsctp_bsd_addr.h61 void sctp_addr_change(struct ifaddr *ifa, int cmd);
H A Dif_ether.h116 struct ifaddr;
122 void arp_ifinit(struct ifnet *, struct ifaddr *);
123 void arp_ifinit2(struct ifnet *, struct ifaddr *, u_char *);
H A Dip_carp.c93 struct ifaddr **sc_ifas; /* Our ifaddrs. */
167 * involved in CARP, we keep a growable array of ifaddr pointers. This
297 static void carp_detach_locked(struct ifaddr *);
310 static void carp_ifa_addroute(struct ifaddr *);
312 static void carp_ifa_delroute(struct ifaddr *);
326 struct ifaddr *ifa;
580 struct ifaddr *ifa;
769 struct ifaddr *ifa;
789 /* XXXGL: OpenBSD picks first ifaddr with needed family. */
942 struct ifaddr *if
[all...]
H A Dsctp_bsd_addr.c201 struct ifaddr *ifa;
292 sctp_addr_change(struct ifaddr *ifa, int cmd)
358 struct ifaddr *ifa;
/freebsd-10.0-release/etc/ppp/
H A Dppp.conf36 set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.0 0.0.0.0
/freebsd-10.0-release/tools/tools/ifpifa/
H A Difpifa.c88 struct ifaddr ifa;
91 } ifaddr; local
133 (char *) &ifaddr, sizeof(ifaddr)) != 0)
137 TAILQ_NEXT(&ifaddr.ifa, ifa_link);
140 (unsigned char *) ifaddr.ifa.ifa_addr -
142 (unsigned char *) &ifaddr);
182 addr, ifaddr.ifa.ifa_refcnt);
/freebsd-10.0-release/share/examples/ppp/
H A Dppp.conf.sample54 # The /0 bit in "set ifaddr" says that we insist on 0 bits of the
58 # The fourth arg to "set ifaddr" makes us send "0.0.0.0" as our requested
65 # The "set ifaddr" is required in -auto mode only.
83 set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.0 0.0.0.0
99 set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.0 0.0.0.0
117 set ifaddr 192.244.185.226 192.244.176.44
154 set ifaddr 172.16.0.1/0 212.0.0.0/0 0 0
337 set ifaddr 172.17.20.247 172.17.20.248 255.255.240.0
446 set ifaddr 10.0.0.1 10.0.0.100-10.0.0.199
481 set ifaddr 10.
[all...]
/freebsd-10.0-release/sys/ofed/include/linux/
H A Dinetdevice.h38 struct ifaddr *ifa;
/freebsd-10.0-release/usr.bin/netstat/
H A Dif.c209 struct ifaddr ifa;
215 } ifaddr; local
323 if (kread(ifaddraddr, (char *)&ifaddr, sizeof ifaddr)
329 cp = (CP(ifaddr.ifa.ifa_addr) - CP(ifaddraddr)) +
330 CP(&ifaddr);
334 (u_long)TAILQ_NEXT(&ifaddr.ifa, ifa_link);
353 in = inet_makeaddr(ifaddr.in.ia_subnet,
356 ifaddr.in.ia_subnetmask));
359 netname(htonl(ifaddr
[all...]
/freebsd-10.0-release/sys/netatalk/
H A Dat_var.h34 struct ifaddr aa_ifa;
H A Dat_control.c55 static int aa_dorangeroute(struct ifaddr *ifa, u_int first, u_int last,
57 static int aa_addsingleroute(struct ifaddr *ifa, struct at_addr *addr,
59 static int aa_delsingleroute(struct ifaddr *ifa, struct at_addr *addr,
61 static int aa_dosingleroute(struct ifaddr *ifa, struct at_addr *addr,
66 static int aa_claim_addr(struct ifaddr *ifa, struct sockaddr *gw);
83 struct ifaddr *ifa;
210 ifa = (struct ifaddr *)aa;
215 * and the ifaddr itself, link them all together
357 * remove the ifaddr from the interface
359 ifa = (struct ifaddr *)a
[all...]
/freebsd-10.0-release/sys/netipx/
H A Dipx_if.h70 * The ifaddr structure contains the protocol-independent part
75 struct ifaddr ia_ifa; /* protocol-independent info */
98 * Given a pointer to an ipx_ifaddr (ifaddr),
/freebsd-10.0-release/sys/net/
H A Dif_var.h98 TAILQ_HEAD(ifaddrhead, ifaddr); /* instantiation is preserved in the list */
180 struct ifaddr *if_addr; /* pointer to link-level address */
782 * The ifaddr structure contains information about one address
787 * NOTE: a 'struct ifaddr' is always at the beginning of a larger
791 struct ifaddr { struct
799 TAILQ_ENTRY(ifaddr) ifa_link; /* queue macro glue */
806 (struct ifaddr *, struct sockaddr *);
819 void ifa_free(struct ifaddr *ifa);
820 void ifa_init(struct ifaddr *ifa);
821 void ifa_ref(struct ifaddr *if
[all...]
H A Droute.h128 struct ifaddr *rt_ifa; /* the answer: interface address to use */
290 struct ifaddr *rti_ifa;
369 void rt_newaddrmsg(int, struct ifaddr *, int, struct rtentry *);
370 void rt_newaddrmsg_fib(int, struct ifaddr *, int, struct rtentry *, int);
397 int rtinit(struct ifaddr *, int, int);
406 int rtinit_fib(struct ifaddr *, int, int);
H A Dif.c133 int (*carp_master_p)(struct ifaddr *);
139 int (*carp_attach_p)(struct ifaddr *, int);
140 void (*carp_detach_p)(struct ifaddr *);
143 int (*carp_iamatch_p)(struct ifaddr *, uint8_t **);
146 struct ifaddr *(*carp_iamatch6_p)(struct ifnet *ifp, struct in6_addr *taddr6);
223 MALLOC_DEFINE(M_IFADDR, "ifaddr", "interface address");
337 struct ifaddr *
340 struct ifaddr *ifa;
591 struct ifaddr *ifa;
747 struct ifaddr *if
[all...]
H A Dif_disc.c197 struct ifaddr *ifa;
205 ifa = (struct ifaddr *)data;
H A Droute.c530 struct ifaddr *ifa;
674 struct ifaddr *
681 struct ifaddr *
685 register struct ifaddr *ifa;
741 struct ifaddr *oifa = ifa;
815 struct ifaddr *ifa;
867 struct ifaddr *ifa;
1057 struct ifaddr *ifa;
1424 rtinit1(struct ifaddr *ifa, int cmd, int flags, int fibnum)
1661 rtinit_fib(struct ifaddr *if
[all...]
H A Dif_faith.c261 struct ifaddr *ifa;
270 ifa = (struct ifaddr *)data;
/freebsd-10.0-release/usr.sbin/ifmcstat/
H A Difmcstat.c135 static void if_addrlist(struct ifaddr *);
141 static void if6_addrlist(struct ifaddr *);
147 static void ll_addrlist(struct ifaddr *);
384 ll_addrlist(struct ifaddr *ifap)
387 struct ifaddr ifa;
390 struct ifaddr *ifap0;
397 KREAD(ifap, &ifa, struct ifaddr);
417 KREAD(ifap0, &ifa, struct ifaddr);
444 if6_addrlist(struct ifaddr *ifap)
447 struct ifaddr if
[all...]
/freebsd-10.0-release/sys/netinet6/
H A Dnd6_nbr.c81 static struct dadq *nd6_dad_find(struct ifaddr *);
85 static void nd6_dad_ns_output(struct dadq *, struct ifaddr *);
86 static void nd6_dad_ns_input(struct ifaddr *);
87 static void nd6_dad_na_input(struct ifaddr *);
113 struct ifaddr *ifa = NULL;
231 ifa = (struct ifaddr *)in6ifa_ifpwithaddr(ifp, &taddr6);
275 ifa = (struct ifaddr *)in6ifa_ifpforlinklocal(ifp,
463 struct ifaddr *ifa;
501 if (hsrc && (ifa = (struct ifaddr *)in6ifa_ifpwithaddr(ifp,
631 struct ifaddr *if
[all...]
H A Din6.c147 in6_ifaddloop(struct ifaddr *ifa)
191 in6_ifremloop(struct ifaddr *ifa)
1134 * If this is a new address, allocate a new ifaddr and link it
1324 nd6_dad_start((struct ifaddr *)ia, delay);
1354 in6_purgeaddr_mc(struct ifnet *ifp, struct in6_ifaddr *ia, struct ifaddr *ifa0)
1483 in6_purgeaddr(struct ifaddr *ifa)
1488 struct ifaddr *ifa0;
1517 error = ifa_del_loopback_route((struct ifaddr *)ia,
1594 struct ifaddr *ifa, *nifa;
1633 struct ifaddr *if
[all...]
H A Dnd6.h430 void nd6_dad_start(struct ifaddr *, int);
431 void nd6_dad_stop(struct ifaddr *);
432 void nd6_dad_duplicated(struct ifaddr *);
/freebsd-10.0-release/tools/regression/netinet/ipmulticast/
H A Dipmulticast.c98 static sockunion_t ifaddr; variable
176 laddr = ifaddr;
194 mreq.imr_interface = ifaddr.sin.sin_addr;
222 mreqs.imr_interface = ifaddr.sin.sin_addr;
258 mreqs.imr_interface = ifaddr.sin.sin_addr;
284 mreq.imr_interface = ifaddr.sin.sin_addr;
378 ifaddr.ss.ss_family = AF_UNSPEC;
469 warnx("required argument missing: ifaddr");
480 memcpy(&ifaddr, aip->ai_addr, aip->ai_addrlen);
483 ifaddr_str, inet_ntoa(ifaddr
[all...]
/freebsd-10.0-release/sys/compat/svr4/
H A Dsvr4_sockio.c92 struct ifaddr *ifa;

Completed in 142 milliseconds

12345