Lines Matching refs:ifc

102 struct	ifc {			/* Configuration of an interface */
104 struct ifc *ifc_next;
118 struct ifc *ifa_conf; /* back pointer */
132 static struct ifc *ifc;
133 static int nifc; /* number of valid ifc's */
134 static struct ifc **index2ifc;
136 static struct ifc *loopifcp = NULL; /* pointing to loopback */
208 static void ripsend(struct ifc *, struct sockaddr_in6 *, int);
209 static int out_filter(struct riprt *, struct ifc *);
212 static void ifconfig1(const char *, const struct sockaddr *, struct ifc *, int);
216 static int rt_deladdr(struct ifc *, const struct sockaddr_in6 *,
226 static int ifrt(struct ifc *, int);
227 static void ifrt_p2p(struct ifc *, int);
231 static void ifdump0(FILE *, const struct ifc *);
235 static void riprequest(struct ifc *, struct netinfo6 *, int,
237 static void ripflush(struct ifc *, struct sockaddr_in6 *);
238 static void sendrequest(struct ifc *);
242 static int addroute(struct riprt *, const struct in6_addr *, struct ifc *);
245 static int tobeadv(struct riprt *, struct ifc *);
251 ifa_match(const struct ifc *, const struct in6_addr *, int);
260 static struct ifc *
263 iff_find(struct ifc *, int);
264 static void setindex2ifc(int, struct ifc *);
273 struct ifc *ifcp;
361 for (ifcp = ifc; ifcp; ifcp = ifcp->ifc_next) {
375 for (ifcp = ifc; ifcp; ifcp = ifcp->ifc_next)
410 for (ifcp = ifc; ifcp; ifcp = ifcp->ifc_next) {
518 struct ifc *ifcp;
548 for (ifcp = ifc; ifcp; ifcp = ifcp->ifc_next) {
563 ifc = NULL;
662 ripflush(struct ifc *ifcp, struct sockaddr_in6 *sin6)
711 ripsend(struct ifc *ifcp, struct sockaddr_in6 *sin6, int flag)
837 out_filter(struct riprt *rrt, struct ifc *ifcp)
908 tobeadv(struct riprt *rrt, struct ifc *ifcp)
994 struct ifc *ifcp, *ic;
1263 for (ic = ifc; ic; ic = ic->ifc_next) {
1281 sendrequest(struct ifc *ifcp)
1309 riprequest(struct ifc *ifcp, struct netinfo6 *np, int nn,
1341 struct ifc *ifcp;
1364 if ((ifcp = MALLOC(struct ifc)) == NULL) {
1365 fatal("malloc: struct ifc");
1370 ifcp->ifc_next = ifc;
1371 ifc = ifcp;
1410 ifconfig1(const char *name, const struct sockaddr *sa, struct ifc *ifcp, int s)
1495 struct ifc *ifcp, *ic;
1693 for (ifcp = ifc; ifcp; ifcp = ifcp->ifc_next)
1696 for (ic = ifc; ic; ic = ic->ifc_next) {
1817 rt_deladdr(struct ifc *ifcp, const struct sockaddr_in6 *sifa,
1927 ifrt(struct ifc *ifcp, int again)
2045 ifrt_p2p(struct ifc *ifcp, int again)
2614 addroute(struct riprt *rrt, const struct in6_addr *gw, struct ifc *ifcp)
2767 struct ifc *ifcp;
2781 for (ifcp = ifc; ifcp; ifcp = ifcp->ifc_next) {
2800 ifdump0(FILE *dump, const struct ifc *ifcp)
2911 struct ifc *ifcp;
3037 ifa_match(const struct ifc *ifcp, const struct in6_addr *ia, int plen)
3255 static struct ifc *
3258 struct ifc *ifcp;
3260 for (ifcp = ifc; ifcp; ifcp = ifcp->ifc_next) {
3268 iff_find(struct ifc *ifcp, int type)
3280 setindex2ifc(int idx, struct ifc *ifcp)
3283 struct ifc **p;
3287 index2ifc = (struct ifc **)
3299 p = (struct ifc **)realloc(index2ifc,