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

/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/timemachine/netatalk-2.2.5/sys/netatalk/
H A Dat_var.h17 struct ifaddr aa_ifa;
H A Dat_control.c59 * ifaddr entry for each net in our local range.
93 struct ifaddr *ifa;
184 ifa->ifa_next = (struct ifaddr *)aa;
186 ifp->if_addrlist = (struct ifaddr *)aa;
253 if (( ifa = ifp->if_addrlist ) == (struct ifaddr *)aa ) {
256 while ( ifa->ifa_next && ( ifa->ifa_next != (struct ifaddr *)aa )) {
260 ifa->ifa_next = ((struct ifaddr *)aa)->ifa_next;
565 struct ifaddr *ifa;
572 if (( ifa = ifp->if_addrlist ) == (struct ifaddr *)aa ) {
576 ( ifa->ifa_next != (struct ifaddr *)a
[all...]
H A Daarp.c106 struct ifaddr *
109 struct ifaddr *ifa;
262 struct ifaddr ifa;
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/zebra/ospfd/
H A Dospf_snmp.c1460 ospf_snmp_if_lookup (struct in_addr *ifaddr, unsigned int *ifindex)
1467 if (ifaddr->s_addr)
1469 if (IPV4_ADDR_SAME (&osif->addr, ifaddr))
1482 ospf_snmp_if_lookup_next (struct in_addr *ifaddr, unsigned int *ifindex,
1494 *ifaddr = osif->addr;
1503 if (ifaddr->s_addr)
1505 if (ntohl (osif->addr.s_addr) > ntohl (ifaddr->s_addr))
1507 *ifaddr = osif->addr;
1516 *ifaddr = osif->addr;
1541 struct in_addr *ifaddr, unsigne
1456 ospf_snmp_if_lookup(struct in_addr *ifaddr, unsigned int *ifindex) argument
1478 ospf_snmp_if_lookup_next(struct in_addr *ifaddr, unsigned int *ifindex, int ifaddr_next, int ifindex_next) argument
1536 ospfIfLookup(struct variable *v, oid *name, size_t *length, struct in_addr *ifaddr, unsigned int *ifindex, int exact) argument
1595 struct in_addr ifaddr; local
1699 ospfIfMetricLookup(struct variable *v, oid *name, size_t *length, struct in_addr *ifaddr, unsigned int *ifindex, int exact) argument
1766 struct in_addr ifaddr; local
[all...]
H A Dospf_dump.c202 u_int32_t ifaddr;
210 ifaddr = ntohl (oi->address->u.prefix4.s_addr);
213 (ifaddr >> 24) & 0xff, (ifaddr >> 16) & 0xff,
214 (ifaddr >> 8) & 0xff, ifaddr & 0xff);
201 u_int32_t ifaddr; local
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/IGMP-PROXY/src/include/
H A Digmprt.h195 igmp_interface_create(struct in_addr ifaddr, char *ifname,vifi_t index);
230 igmprt_interface_lookup(igmp_router_t* igmprt, struct in_addr ifaddr);
233 igmprt_group_lookup(igmp_router_t* igmprt, struct in_addr ifaddr,
237 igmprt_interface_add(igmp_router_t* igmprt, struct in_addr ifaddr,
241 igmprt_group_add(igmp_router_t* igmprt, struct in_addr ifaddr,
/netgear-R7000-V1.0.7.12_1.2.5/src/router/iputils/
H A Drarpd.c55 struct ifaddr *ifa_list;
58 struct ifaddr struct
60 struct ifaddr *next;
92 struct ifaddr *ifa;
183 ifa = (struct ifaddr*)malloc(sizeof(*ifa));
239 struct ifaddr *select_ipaddr(int ifindex, __u32 *sel_addr, __u32 **alist)
242 struct ifaddr *ifa;
298 struct ifaddr *ifa;
367 struct ifaddr *ifa;
/netgear-R7000-V1.0.7.12_1.2.5/src/router/iputils/racoon/
H A Dgrabmyaddr.c355 "unsuitable ifaddr: %s\n",
471 "unsuitable ifaddr %s\n");
528 suitable_ifaddr(ifname, ifaddr)
530 const struct sockaddr *ifaddr;
532 switch(ifaddr->sa_family) {
537 return suitable_ifaddr6(ifname, ifaddr);
547 suitable_ifaddr6(ifname, ifaddr)
549 const struct sockaddr *ifaddr;
556 if (ifaddr->sa_family != AF_INET6)
570 ifr6.ifr_addr = *(const struct sockaddr_in6 *)ifaddr;
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/IGMP-PROXY/src/
H A Digmprt.c415 struct in_addr ifaddr,
448 ifp->igmpi_addr.s_addr = ifaddr.s_addr;
517 (void*)&ifaddr, sizeof(ifaddr));
523 mreq.imr_interface.s_addr = ifaddr.s_addr;/*htonl(0);*/
527 mreq.imr_interface.s_addr = ifaddr.s_addr;/*htonl(0);*/
893 struct in_addr ifaddr)
898 if (ifp->igmpi_addr.s_addr == ifaddr.s_addr)
929 struct in_addr ifaddr,
934 if ((ifp = igmprt_interface_lookup(igmprt, ifaddr)))
414 igmp_interface_create( struct in_addr ifaddr, char *ifname, vifi_t index) argument
891 igmprt_interface_lookup( igmp_router_t* igmprt, struct in_addr ifaddr) argument
927 igmprt_group_lookup( igmp_router_t* igmprt, struct in_addr ifaddr, struct in_addr groupaddr) argument
945 igmprt_interface_add( igmp_router_t* igmprt, struct in_addr ifaddr, char *ifname, vifi_t index) argument
971 igmprt_group_add( igmp_router_t* igmprt, struct in_addr ifaddr, struct in_addr groupaddr) argument
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/dhcp6/
H A Dclient6_addr.c576 struct dhcp6_addr *ifaddr)
581 /* sp->lease_addr.plen == ifaddr->plen */
583 in6addr2str(&ifaddr->addr, 0), ifaddr->plen);
585 in6addr2str(&sp->lease_addr.addr, 0), ifaddr->plen);
586 if (IN6_ARE_ADDR_EQUAL(&sp->lease_addr.addr, &ifaddr->addr)) {
588 if (sp->lease_addr.plen == ifaddr->plen)
738 client6_ifaddrconf(ifaddrconf_cmd_t cmd, struct dhcp6_addr *ifaddr) argument
766 memcpy(&req.ifr6_addr, &ifaddr->addr, sizeof(req.ifr6_addr));
768 req.ifr6_prefixlen = ifaddr
575 dhcp6_find_lease(struct dhcp6_iaidaddr *iaidaddr, struct dhcp6_addr *ifaddr) argument
[all...]
H A Dserver6_addr.c461 dhcp6_find_lease(iaidaddr, ifaddr)
463 struct dhcp6_addr *ifaddr;
469 * sp->lease_addr.plen == ifaddr->plen &&
472 in6addr2str(&ifaddr->addr, 0), ifaddr->plen);
474 in6addr2str(&sp->lease_addr.addr, 0), ifaddr->plen);
475 if (IN6_ARE_ADDR_EQUAL(&sp->lease_addr.addr, &ifaddr->addr)) {
476 if (ifaddr->type == IAPD) {
477 if (sp->lease_addr.plen == ifaddr->plen)
479 } else if (ifaddr
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/src/router/dhcp6/
H A Dclient6_addr.c576 struct dhcp6_addr *ifaddr)
581 /* sp->lease_addr.plen == ifaddr->plen */
583 in6addr2str(&ifaddr->addr, 0), ifaddr->plen);
585 in6addr2str(&sp->lease_addr.addr, 0), ifaddr->plen);
586 if (IN6_ARE_ADDR_EQUAL(&sp->lease_addr.addr, &ifaddr->addr)) {
588 if (sp->lease_addr.plen == ifaddr->plen)
766 client6_ifaddrconf(ifaddrconf_cmd_t cmd, struct dhcp6_addr *ifaddr) argument
794 memcpy(&req.ifr6_addr, &ifaddr->addr, sizeof(req.ifr6_addr));
796 req.ifr6_prefixlen = ifaddr
575 dhcp6_find_lease(struct dhcp6_iaidaddr *iaidaddr, struct dhcp6_addr *ifaddr) argument
[all...]
H A Dserver6_addr.c461 dhcp6_find_lease(iaidaddr, ifaddr)
463 struct dhcp6_addr *ifaddr;
469 * sp->lease_addr.plen == ifaddr->plen &&
472 in6addr2str(&ifaddr->addr, 0), ifaddr->plen);
474 in6addr2str(&sp->lease_addr.addr, 0), ifaddr->plen);
475 if (IN6_ARE_ADDR_EQUAL(&sp->lease_addr.addr, &ifaddr->addr)) {
476 if (ifaddr->type == IAPD) {
477 if (sp->lease_addr.plen == ifaddr->plen)
479 } else if (ifaddr
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/zebra/lib/
H A Dif.c643 ifaddr_ipv4_add (struct in_addr *ifaddr, struct interface *ifp)
650 p.prefix = *ifaddr;
658 inet_ntoa (*ifaddr));
666 ifaddr_ipv4_delete (struct in_addr *ifaddr, struct interface *ifp)
673 p.prefix = *ifaddr;
680 inet_ntoa (*ifaddr));
640 ifaddr_ipv4_add(struct in_addr *ifaddr, struct interface *ifp) argument
663 ifaddr_ipv4_delete(struct in_addr *ifaddr, struct interface *ifp) argument
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/zebra/zebra/
H A Dioctl.c260 struct prefix_ipv4 ifaddr; local
265 ifaddr = *p;
281 apply_mask_ipv4 (&ifaddr);
282 addr.sin_addr = ifaddr.prefix;
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/timemachine/netatalk-2.2.5/sys/ultrix/
H A Dat_ultrix.c205 &AA_SAT((struct ifaddr *)data)->sat_addr );
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/pptpd/pptpd-1.3.4/
H A Dbcrelay.c167 unsigned long ifaddr; member in struct:iflist
834 iflist[cntr].ifaddr = ntohl(sin->sin_addr.s_addr);
950 sprintf(str_tr, "index=%d, ifname=%s, ifaddr=%ld.%ld.%ld.%ld, ifdstaddr=%ld.%ld.%ld.%ld, flags1=0x%04lx",
952 (ifp->ifaddr)>>24, ((ifp->ifaddr)&0x00ff0000)>>16, ((ifp->ifaddr)&0x0000ff00)>>8, (ifp->ifaddr)&0x000000ff,
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/minidlna/minidlna/
H A Dminissdp.c30 AddMulticastMembership(int s, in_addr_t ifaddr/*const char * ifaddr*/)
37 imr.imr_interface.s_addr = ifaddr; /*inet_addr(ifaddr);*/
72 /*sockname.sin_addr.s_addr = inet_addr(ifaddr);*/
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/fs/afs/
H A Dcmservice.c513 __be32 ifaddr[32]; member in struct:__anon16474::__anon16475
549 reply.ia.ifaddr[loop] = ifs[loop].address.s_addr;
/netgear-R7000-V1.0.7.12_1.2.5/src/include/proto/
H A Dp2p.h178 uint8 ifaddr[1][6]; /* P2P Interface Address list */ member in struct:wifi_p2p_intf_se_s
323 uint8 ifaddr[ETHER_ADDR_LEN]; /* P2P Interface Address */ member in struct:wifi_p2p_cid_fixed_s
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/ppp-2.4.4/modules/
H A Dif_ppp.c596 struct ifaddr *ifa = (struct ifaddr *) data;
822 struct ifaddr *ifa;
/netgear-R7000-V1.0.7.12_1.2.5/src/router/ppp/modules/
H A Dif_ppp.c588 struct ifaddr *ifa = (struct ifaddr *) data;
814 struct ifaddr *ifa;

Completed in 333 milliseconds