Home
last modified time | relevance | path

Searched refs:ifa_list (Results 1 – 25 of 28) sorted by relevance

12

/linux-2.4.37.9/net/ipv4/netfilter/
Dipt_REDIRECT.c82 if (indev == NULL || indev->ifa_list == NULL) in redirect_target()
86 newdst = indev->ifa_list->ifa_local; in redirect_target()
Dip_fw_compat_redir.c178 newdst = ((struct in_device *)dev->ip_ptr)->ifa_list->ifa_local; in do_redirect()
Dipfwadm_core.c512 for (ifa = ((struct in_device*)(rif->ip_ptr))->ifa_list; in ip_fw_chk()
/linux-2.4.37.9/include/net/
Ddn_dev.h87 struct dn_ifaddr *ifa_list; member
182 for(ifa = dn_db->ifa_list; ifa; ifa = ifa->ifa_next) in dn_dev_islocal()
/linux-2.4.37.9/include/linux/
Dinetdevice.h36 struct in_ifaddr *ifa_list; /* IP ifaddr chain */ member
126 for (ifa = (in_dev)->ifa_list; ifa && !(ifa->ifa_flags&IFA_F_SECONDARY); ifa = ifa->ifa_next)
129 for (ifa = (in_dev)->ifa_list; ifa; ifa = ifa->ifa_next)
/linux-2.4.37.9/net/ipv4/
Ddevinet.c108 BUG_TRAP(idev->ifa_list==NULL); in in_dev_finish_destroy()
170 while ((ifa = in_dev->ifa_list) != NULL) { in inetdev_destroy()
171 inet_del_ifa(in_dev, &in_dev->ifa_list, 0); in inetdev_destroy()
254 if (in_dev->ifa_list == NULL) in inet_del_ifa()
273 last_primary = &in_dev->ifa_list; in inet_insert_ifa()
275 for (ifap=&in_dev->ifa_list; (ifa1=*ifap)!=NULL; ifap=&ifa1->ifa_next) { in inet_insert_ifa()
373 for (ifap=&in_dev->ifa_list; (ifa=*ifap)!=NULL; ifap=&ifa->ifa_next) { in inet_rtm_deladdr()
541 for (ifap=&in_dev->ifa_list; (ifa=*ifap) != NULL; ifap=&ifa->ifa_next) { in devinet_ioctl()
552 for (ifap=&in_dev->ifa_list; (ifa=*ifap) != NULL; ifap=&ifa->ifa_next) in devinet_ioctl()
707 if (in_dev==NULL || (ifa=in_dev->ifa_list)==NULL) in inet_gifconf()
[all …]
Dfib_frontend.c226 no_addr = in_dev->ifa_list == NULL; in fib_validate_source()
529 for (ifa1 = in_dev->ifa_list; ifa1; ifa1 = ifa1->ifa_next) { in fib_del_ifaddr()
589 if (ifa->ifa_dev && ifa->ifa_dev->ifa_list == NULL) { in fib_inetaddr_event()
Dicmp.c840 if (in_dev->ifa_list && in icmp_address_reply()
845 for (ifa=in_dev->ifa_list; ifa; ifa = ifa->ifa_next) { in icmp_address_reply()
Dfib_semantics.c797 for (ifa = in_dev->ifa_list; ifa; ifa = ifa->ifa_next) in fib_convert_rtentry()
/linux-2.4.37.9/net/irda/irlan/
Dirlan_eth.c332 if (in_dev->ifa_list) in irlan_eth_send_gratuitous_arp()
335 in_dev->ifa_list->ifa_address, in irlan_eth_send_gratuitous_arp()
337 in_dev->ifa_list->ifa_address, in irlan_eth_send_gratuitous_arp()
/linux-2.4.37.9/net/decnet/
Ddn_dev.c375 if (dn_db->ifa_list == NULL) in dn_dev_del_ifa()
386 ifa->ifa_next = dn_db->ifa_list; in dn_dev_insert_ifa()
387 dn_db->ifa_list = ifa; in dn_dev_insert_ifa()
454 for (ifap = &dn_db->ifa_list; (ifa=*ifap) != NULL; ifap = &ifa->ifa_next) in dn_dev_ioctl()
521 for(ifap = &dn_db->ifa_list; (ifa=*ifap) != NULL; ifap = &ifa->ifa_next) { in dn_dev_rtm_deladdr()
638 for(ifa = dn_db->ifa_list, dn_idx = 0; ifa; ifa = ifa->ifa_next, dn_idx++) { in dn_dev_dump_ifaddr()
1010 while((ifa = dn_db->ifa_list) != NULL) { in dn_dev_down()
1011 dn_dev_del_ifa(dn_db, &dn_db->ifa_list, 0); in dn_dev_down()
1069 if ((dn_db == NULL) || ((ifa = dn_db->ifa_list) == NULL)) in dnet_gifconf()
/linux-2.4.37.9/drivers/net/wan/
Dsdla_fr.c1805 struct in_ifaddr *ifa= in_dev->ifa_list;
4209 if(in_dev->ifa_list != NULL)
4210 arphdr->ar_sip = in_dev->ifa_list->ifa_local; /* Local Address */else
4327 if (in_dev == NULL || in_dev->ifa_list == NULL)
4343 if (in_dev->ifa_list->ifa_mask != 0xFFFFFFFF &&
4344 (in_dev->ifa_list->ifa_mask & arphdr->ar_sip) !=
4345 (in_dev->ifa_list->ifa_mask & in_dev->ifa_list->ifa_local)){
4351 card->devname, NIPQUAD(in_dev->ifa_list->ifa_mask));
4353 card->devname,NIPQUAD(in_dev->ifa_list->ifa_local));
4357 if (in_dev->ifa_list->ifa_local == arphdr->ar_sip){
[all …]
Dsdla_ppp.c2270 struct in_ifaddr *ifa = in_dev->ifa_list; in process_route()
2401 cfg.ip_local = in_dev->ifa_list->ifa_local; in config508()
2402 cfg.ip_remote = in_dev->ifa_list->ifa_address; in config508()
2422 cfg.ip_local = in_dev->ifa_list->ifa_local; in config508()
2423 cfg.ip_remote = in_dev->ifa_list->ifa_address; in config508()
3141 struct in_ifaddr *ifa = in_dev->ifa_list; in remove_route()
3304 struct in_ifaddr *ifa= in_dev->ifa_list; in chk_bcast_mcast_addr()
Dhdlc_cisco.c160 struct in_ifaddr **ifap = &in_dev->ifa_list; in cisco_rx()
Dsdlamain.c1365 if ((ifaddr = in_dev->ifa_list)== NULL ){ in get_ip_address()
Dsyncppp.c735 for (ifa=in_dev->ifa_list; ifa != NULL; in sppp_cisco_input()
Dsdla_chdlc.c1428 struct in_ifaddr *ifa= in_dev->ifa_list; in chk_bcast_mcast_addr()
2345 struct in_ifaddr *ifa = in_dev->ifa_list; in set_chdlc_config()
2719 struct in_ifaddr *ifa = in_dev->ifa_list; in process_route()
/linux-2.4.37.9/drivers/net/
Dstrip.c1448 if (in_dev->ifa_list) in strip_make_packet()
1449 brd = in_dev->ifa_list->ifa_broadcast; in strip_make_packet()
1587 if (in_dev->ifa_list) { in strip_send()
1588 brd = in_dev->ifa_list->ifa_broadcast; in strip_send()
1589 addr = in_dev->ifa_list->ifa_local; in strip_send()
2505 if (in_dev->ifa_list->ifa_address == 0) in strip_open_low()
2506 in_dev->ifa_list->ifa_address = ntohl(0xC0A80001); in strip_open_low()
Dplip.c1069 struct in_ifaddr *ifa=in_dev->ifa_list; in plip_rewrite_address()
1163 struct in_ifaddr *ifa=in_dev->ifa_list; in plip_open()
/linux-2.4.37.9/drivers/isdn/hysdn/
Dhysdn_net.c97 struct in_ifaddr *ifa = in_dev->ifa_list; in net_open()
/linux-2.4.37.9/arch/ia64/drivers/
Dsimeth.c312 for (ifap=&in_dev->ifa_list; (ifa=*ifap) != NULL; ifap=&ifa->ifa_next) in simeth_device_event()
/linux-2.4.37.9/net/econet/
Daf_econet.c383 if (idev->ifa_list) in econet_sendmsg()
384 network = ntohl(idev->ifa_list->ifa_address) & in econet_sendmsg()
/linux-2.4.37.9/net/core/
Dpktgen.c265 if (in_dev->ifa_list) { in setup_inject()
266 info->saddr_min = in_dev->ifa_list->ifa_address; in setup_inject()
/linux-2.4.37.9/drivers/s390/net/
Dqeth.c4735 static void qeth_clear_ifamc_list(struct qeth_ipm_mac **ifa_list) in qeth_clear_ifamc_list() argument
4738 while (*ifa_list) { in qeth_clear_ifamc_list()
4739 ifa=*ifa_list; in qeth_clear_ifamc_list()
4740 *ifa_list=ifa->next; in qeth_clear_ifamc_list()
4746 static void qeth_clear_ifa6_list(struct inet6_ifaddr **ifa_list) in qeth_clear_ifa6_list() argument
4749 while (*ifa_list) { in qeth_clear_ifa6_list()
4750 ifa=*ifa_list; in qeth_clear_ifa6_list()
4751 *ifa_list=ifa->if_next; in qeth_clear_ifa6_list()
4999 static void qeth_clear_ifa4_list(struct in_ifaddr **ifa_list) in qeth_clear_ifa4_list() argument
5002 while (*ifa_list) { in qeth_clear_ifa4_list()
[all …]
/linux-2.4.37.9/net/sctp/
Dprotocol.c154 for (ifa = in_dev->ifa_list; ifa; ifa = ifa->ifa_next) { in sctp_v4_copy_addrlist()

12