Lines Matching full:ifc
83 struct ifc { /* Configuration of an interface */ struct
84 TAILQ_ENTRY(ifc) ifc_next;
98 static TAILQ_HEAD(, ifc) ifc_head = TAILQ_HEAD_INITIALIZER(ifc_head);
103 struct ifc *ifac_ifc; /* back pointer */
118 static struct ifc **index2ifc;
120 static struct ifc *loopifcp = NULL; /* pointing to loopback */
204 static void ripsend(struct ifc *, struct sockaddr_in6 *, int);
205 static int out_filter(struct riprt *, struct ifc *);
208 static int ifconfig1(const char *, const struct sockaddr *, struct ifc *, int);
212 static int rt_deladdr(struct ifc *, const struct sockaddr_in6 *,
219 static int ifrt(struct ifc *, int);
220 static void ifrt_p2p(struct ifc *, int);
224 static void ifdump0(FILE *, const struct ifc *);
229 static void riprequest(struct ifc *, struct netinfo6 *, int,
231 static void ripflush(struct ifc *, struct sockaddr_in6 *, int, struct netinfo6 *np);
232 static void sendrequest(struct ifc *);
236 static int addroute(struct riprt *, const struct in6_addr *, struct ifc *);
242 static int tobeadv(struct riprt *, struct ifc *);
246 static struct ifac *ifa_match(const struct ifc *, const struct in6_addr *, int);
259 static struct ifc *ifc_find(char *);
260 static struct iff *iff_find(struct ifc *, int);
261 static void setindex2ifc(int, struct ifc *);
278 struct ifc *ifcp; in main()
577 struct ifc *ifcp; in ripalarm()
753 ripflush(struct ifc *ifcp, struct sockaddr_in6 *sin6, int nrt, struct netinfo6 *np) in ripflush()
808 ripsend(struct ifc *ifcp, struct sockaddr_in6 *sin6, int flag) in ripsend()
949 out_filter(struct riprt *rrt, struct ifc *ifcp) in out_filter()
1020 tobeadv(struct riprt *rrt, struct ifc *ifcp) in tobeadv()
1104 struct ifc *ifcp, *ic; in riprecv()
1450 sendrequest(struct ifc *ifcp) in sendrequest()
1478 riprequest(struct ifc *ifcp, in riprequest()
1512 struct ifc *ifcp; in ifconfig()
1535 if ((ifcp = MALLOC(struct ifc)) == NULL) { in ifconfig()
1536 fatal("malloc: struct ifc"); in ifconfig()
1586 struct ifc *ifcp, in ifconfig1()
1666 struct ifc *ifcp; in ifremove()
1701 struct ifc *ifcp, *ic; in rtrecv()
2049 rt_deladdr(struct ifc *ifcp, in rt_deladdr()
2150 ifrt(struct ifc *ifcp, int again) in ifrt()
2263 ifrt_p2p(struct ifc *ifcp, int again) in ifrt_p2p()
2813 struct ifc *ifcp) in addroute()
3020 struct ifc *ifcp; in ifdump()
3057 ifdump0(FILE *dump, const struct ifc *ifcp) in ifdump0()
3167 struct ifc *ifcp; in filterconfig()
3293 ifa_match(const struct ifc *ifcp, in ifa_match()
3523 static struct ifc *
3526 struct ifc *ifcp; in ifc_find()
3536 iff_find(struct ifc *ifcp, int type) in iff_find()
3550 setindex2ifc(int idx, struct ifc *ifcp) in setindex2ifc()
3553 struct ifc **p; in setindex2ifc()
3557 index2ifc = (struct ifc **) in setindex2ifc()
3569 p = (struct ifc **)realloc(index2ifc, in setindex2ifc()