Searched refs:ifc (Results 1 - 25 of 76) sorted by relevance

1234

/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/zebra/zebra/
H A Dconnected.c41 struct connected *ifc;
46 ifc = getdata (node);
48 if (prefix_same (ifc->address, p))
49 return ifc;
56 connected_up_ipv4 (struct interface *ifp, struct connected *ifc)
62 if (! CHECK_FLAG (ifc->conf, ZEBRA_IFC_REAL))
65 addr = (struct prefix_ipv4 *) ifc->address;
66 dest = (struct prefix_ipv4 *) ifc->destination;
97 struct connected *ifc;
101 ifc
40 struct connected *ifc; local
55 connected_up_ipv4(struct interface *ifp, struct connected *ifc) argument
96 struct connected *ifc; local
149 connected_down_ipv4(struct interface *ifp, struct connected *ifc) argument
189 struct connected *ifc; local
222 struct connected *ifc; local
236 connected_up_ipv6(struct interface *ifp, struct connected *ifc) argument
279 struct connected *ifc; local
326 connected_down_ipv6(struct interface *ifp, struct connected *ifc) argument
367 struct connected *ifc; local
[all...]
H A Dinterface.c126 struct connected *ifc;
132 ifc = getdata (node);
133 p = ifc->address;
135 if (CHECK_FLAG (ifc->conf, ZEBRA_IFC_CONFIGURED)
136 && ! CHECK_FLAG (ifc->conf, ZEBRA_IFC_REAL))
147 ret = if_set_prefix (ifp, ifc);
156 SET_FLAG (ifc->conf, ZEBRA_IFC_REAL);
158 zebra_interface_address_add_update (ifp, ifc);
161 connected_up_ipv4 (ifp, ifc);
172 ret = if_prefix_add_ipv6 (ifp, ifc);
125 struct connected *ifc; local
224 struct connected *ifc; local
281 struct connected *ifc; local
316 struct connected *ifc; local
904 struct connected *ifc; local
991 struct connected *ifc; local
1122 struct connected *ifc; local
1199 struct connected *ifc; local
1305 struct connected *ifc; local
[all...]
H A Dioctl.c161 if_set_prefix (struct interface *ifp, struct connected *ifc) argument
163 return kernel_address_add_ipv4 (ifp, ifc);
168 if_unset_prefix (struct interface *ifp, struct connected *ifc) argument
170 return kernel_address_delete_ipv4 (ifp, ifc);
177 if_set_prefix (struct interface *ifp, struct connected *ifc) argument
185 p = (struct prefix_ipv4 *) ifc->address;
215 if_unset_prefix (struct interface *ifp, struct connected *ifc) argument
223 p = (struct prefix_ipv4 *)ifc->address;
253 if_set_prefix (struct interface *ifp, struct connected *ifc) argument
263 p = (struct prefix_ipv4 *) ifc
309 if_unset_prefix(struct interface *ifp, struct connected *ifc) argument
414 if_prefix_add_ipv6(struct interface *ifp, struct connected *ifc) argument
434 if_prefix_delete_ipv6(struct interface *ifp, struct connected *ifc) argument
458 if_prefix_add_ipv6(struct interface *ifp, struct connected *ifc) argument
497 if_prefix_delete_ipv6(struct interface *ifp, struct connected *ifc) argument
536 if_prefix_add_ipv6(struct interface *ifp, struct connected *ifc) argument
542 if_prefix_delete_ipv6(struct interface *ifp, struct connected *ifc) argument
[all...]
H A Dredistribute.c357 struct connected *ifc)
367 p = ifc->address;
370 p->prefixlen, ifc->ifp->name);
376 if (client->ifinfo && CHECK_FLAG (ifc->conf, ZEBRA_IFC_REAL))
377 zsend_interface_address_add (client, ifp, ifc);
383 struct connected *ifc)
393 p = ifc->address;
396 p->prefixlen, ifc->ifp->name);
401 if (client->ifinfo && CHECK_FLAG (ifc->conf, ZEBRA_IFC_REAL))
402 zsend_interface_address_delete (client, ifp, ifc);
356 zebra_interface_address_add_update(struct interface *ifp, struct connected *ifc) argument
382 zebra_interface_address_delete_update(struct interface *ifp, struct connected *ifc) argument
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/router/dhcp6/
H A Dconfig.c87 struct dhcp6_ifconf *ifc; local
92 if ((ifc = malloc(sizeof(*ifc))) == NULL) {
98 memset(ifc, 0, sizeof(*ifc));
99 ifc->next = dhcp6_ifconflist;
100 dhcp6_ifconflist = ifc;
102 if ((ifc->ifname = strdup(ifp->name)) == NULL) {
107 ifc->server_pref = DH6OPT_PREF_UNDEF;
108 TAILQ_INIT(&ifc
466 struct dhcp6_ifconf *ifc; local
517 struct dhcp6_ifconf *ifc, *ifc_next; local
551 add_options(int opcode, struct dhcp6_ifconf *ifc, struct cf_list *cfl0) argument
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/netatalk-2.2.0/libatalk/util/
H A Dgetiface.c78 struct ifconf ifc;
86 memset( &ifc, 0, sizeof( struct ifconf ));
87 ifc.ifc_len = sizeof( ifrs );
89 ifc.ifc_buf = (caddr_t)ifrs;
90 if ( ioctl( sockfd, SIOCGIFCONF, &ifc ) < 0 ) {
94 new = (char **) malloc((ifc.ifc_len/sizeof(struct ifreq) + 1) * sizeof(char *));
95 for ( ifr = ifc.ifc_req; ifc.ifc_len >= (int) sizeof( struct ifreq );
96 ifc.ifc_len -= ifrsize, ifr = nextifr ) {
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/netatalk-2.2.5/libatalk/util/
H A Dgetiface.c78 struct ifconf ifc;
86 memset( &ifc, 0, sizeof( struct ifconf ));
87 ifc.ifc_len = sizeof( ifrs );
89 ifc.ifc_buf = (caddr_t)ifrs;
90 if ( ioctl( sockfd, SIOCGIFCONF, &ifc ) < 0 ) {
94 new = (char **) malloc((ifc.ifc_len/sizeof(struct ifreq) + 1) * sizeof(char *));
95 for ( ifr = ifc.ifc_req; ifc.ifc_len >= (int) sizeof( struct ifreq );
96 ifc.ifc_len -= ifrsize, ifr = nextifr ) {
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/sh/kernel/
H A Dcpufreq.c39 unsigned int ifc; member in struct:clock_set
74 current_cpu_data.cpu_clock = current_cpu_data.master_clock / clock_sets[set].ifc;
99 freqs.new = (current_cpu_data.master_clock / clock_sets[set].ifc) / 1000;
125 frqcr &= 0x0e00; /* Clear ifc, bfc, pfc */
126 frqcr |= get_ifc_value(clock_sets[set].ifc) << 6;
142 unsigned int ifc, bfc, pfc; local
148 get_current_frequency_divisors(&ifc, &bfc, &pfc);
149 clock_sets[MAX_CLOCK_SET].ifc = ifc;
155 min_freq = (current_cpu_data.master_clock / clock_sets[MIN_CLOCK_SET].ifc) / 100
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/isdn/hisax/
H A Dhisax_if.h45 struct hisax_if ifc; member in struct:hisax_b_if
52 struct hisax_if ifc; member in struct:hisax_d_if
H A Dst5481_init.c80 adapter->hisax_d_if.ifc.priv = adapter;
81 adapter->hisax_d_if.ifc.l2l1 = st5481_d_l2l1;
86 adapter->bcs[i].b_if.ifc.priv = &adapter->bcs[i];
87 adapter->bcs[i].b_if.ifc.l2l1 = st5481_b_l2l1;
H A Dhfc4s8s_l1.c345 struct hfc4s8s_l1 *l1 = iface->ifc.priv;
385 l1->d_if.ifc.l1l2(&l1->d_if.ifc,
400 l1->d_if.ifc.l1l2(&l1->d_if.ifc,
414 l1->d_if.ifc.l1l2(&l1->d_if.ifc,
422 bch_l2l1(struct hisax_if *ifc, int pr, void *arg) argument
424 struct hfc4s8s_btype *bch = ifc->priv;
497 bch->b_if.ifc
[all...]
H A Dst5481_b.c22 struct hisax_if *ifc = (struct hisax_if *) &bcs->b_if; local
24 ifc->l1l2(ifc, pr, arg);
316 bcs->b_in.hisax_if = &bcs->b_if.ifc;
350 void st5481_b_l2l1(struct hisax_if *ifc, int pr, void *arg) argument
352 struct st5481_bcs *bcs = ifc->priv;
H A Dhfc_usb.c387 hfc->d_if.ifc.l1l2(&hfc->d_if.ifc, PH_DEACTIVATE | INDICATION,
406 hfc->d_if.ifc.l1l2(&hfc->d_if.ifc, PH_DEACTIVATE | INDICATION,
448 hfc->d_if.ifc.l1l2(&hfc->d_if.ifc,
466 hfc->d_if.ifc.l1l2(&hfc->d_if.ifc,
1089 hfc->d_if.ifc.l1l2(&hfc->d_if.ifc,
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/samba-3.0.13/source/lib/
H A Dinterfaces.c97 struct ifconf ifc; local
110 ifc.ifc_len = sizeof(buff);
111 ifc.ifc_buf = buff;
113 if (ioctl(fd, SIOCGIFCONF, &ifc) != 0) {
118 ifr = ifc.ifc_req;
120 n = ifc.ifc_len / sizeof(struct ifreq);
261 struct ifconf ifc; local
273 ifc.ifc_len = sizeof(buff);
274 ifc.ifc_buf = buff;
276 if (ioctl(fd, SIOCGIFCONF, &ifc) !
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/minidlna/minidlna.03.14/
H A Dgetifaddr.c108 struct ifconf ifc; local
113 memset(&ifc, '\0', sizeof(ifc));
114 ifc.ifc_buf = buf;
115 ifc.ifc_len = sizeof(buf);
117 if( ioctl(s, SIOCGIFCONF, &ifc) < 0 )
124 n = ifc.ifc_len / sizeof(struct ifreq);
127 ifr = &ifc.ifc_req[i];
H A Dtivo_beacon.c107 struct ifconf ifc; local
112 memset(&ifc, '\0', sizeof(ifc));
113 ifc.ifc_len = sizeof(ifr);
114 ifc.ifc_req = ifr;
116 if(ioctl(s, SIOCGIFCONF, &ifc) < 0) {
122 count = ifc.ifc_len / sizeof(struct ifreq);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/router/busybox-1.x/e2fsprogs/old_e2fsprogs/uuid/
H A Dgen_uuid.c130 struct ifconf ifc; local
159 ifc.ifc_len = sizeof(buf);
160 ifc.ifc_buf = buf;
161 if (ioctl (sd, SIOCGIFCONF, (char *)&ifc) < 0) {
165 n = ifc.ifc_len;
167 ifrp = (struct ifreq *)((char *) ifc.ifc_buf+i);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/zebra/lib/
H A Dzclient.c615 struct connected *ifc;
634 ifc = connected_new ();
635 ifc->ifp = ifp;
638 ifc->flags = stream_getc (s);
647 ifc->address = p;
654 ifc->destination = p;
656 p = ifc->address;
659 listnode_add (ifp->connected, ifc);
661 return ifc;
669 struct connected *ifc;
612 struct connected *ifc; local
666 struct connected *ifc; local
[all...]
H A Dif.c460 struct connected *ifc;
469 ifc = getdata (node2);
470 p = ifc->address;
557 struct connected *ifc;
562 ifc = getdata (node);
565 if (connected_same_prefix (ifc->address, p))
567 listnode_delete (ifp->connected, ifc);
568 return ifc;
576 ifc_pointopoint (struct connected *ifc)
582 if (if_is_pointopoint (ifc
458 struct connected *ifc; variable in typeref:struct:connected
555 struct connected *ifc; local
574 ifc_pointopoint(struct connected *ifc) argument
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/ppp-2.4.4/pppd/
H A Dsys-solaris.c386 struct ifconf ifc; local
416 ifc.ifc_len = req_size;
417 ifc.ifc_buf = req;
418 if (ioctl(fd, SIOCGIFCONF, &ifc) < 0) {
429 pifreq = ifc.ifc_req;
431 for (i = ifc.ifc_len / sizeof(struct ifreq); i > 0; i--, pifreq++) {
2154 struct ifconf ifc; local
2164 ifc.ifc_len = nif * sizeof(struct ifreq);
2165 ifc.ifc_buf = (caddr_t) malloc(ifc
2397 struct ifconf ifc; local
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/zebra/bgpd/
H A Dbgp_zebra.c203 struct connected *ifc;
205 ifc = zebra_interface_address_add_read (zclient->ibuf);
207 if (ifc == NULL)
210 bgp_if_update (ifc->ifp);
212 if (if_is_up (ifc->ifp))
213 bgp_connected_add (ifc);
222 struct connected *ifc;
224 ifc = zebra_interface_address_delete_read (zclient->ibuf);
226 if (ifc == NULL)
229 bgp_if_update (ifc
202 struct connected *ifc; local
221 struct connected *ifc; local
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/zebra/ripd/
H A Drip_interface.c781 struct connected *ifc;
784 ifc = zebra_interface_address_add_read (zclient->ibuf);
786 if (ifc == NULL)
789 p = ifc->address;
799 rip_enable_apply (ifc->ifp);
802 rip_ifaddr_add (ifc->ifp, ifc);
813 struct connected *ifc;
816 ifc = zebra_interface_address_delete_read (zclient->ibuf);
818 if (ifc)
779 struct connected *ifc; local
811 struct connected *ifc; local
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/router/busybox-1.x/networking/
H A Dinterface.c478 struct ifconf ifc; local
483 ifc.ifc_buf = NULL;
494 ifc.ifc_len = sizeof(struct ifreq) * numreqs;
495 ifc.ifc_buf = xrealloc(ifc.ifc_buf, ifc.ifc_len);
497 if (ioctl_or_warn(skfd, SIOCGIFCONF, &ifc) < 0) {
500 if (ifc.ifc_len == sizeof(struct ifreq) * numreqs) {
508 ifr = ifc.ifc_req;
509 for (n = 0; n < ifc
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/dnsmasq-2.15/src/
H A Dnetwork.c73 struct ifconf ifc; local
85 ifc.ifc_len = len;
86 ifc.ifc_buf = buf;
87 if (ioctl(fd, SIOCGIFCONF, &ifc) < 0)
94 if (ifc.ifc_len == lastlen)
96 lastlen = ifc.ifc_len;
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/zebra/ripngd/
H A Dripng_interface.c291 struct connected *ifc;
295 ifc = zebra_interface_address_delete_read (zclient->ibuf);
297 if (ifc)
299 p = ifc->address;
310 ripng_enable_apply (ifc->ifp);
312 connected_free (ifc);
290 struct connected *ifc; local

Completed in 438 milliseconds

1234