/asus-wl-520gu-7.0.1.45/src/router/udhcpd/ |
H A D | socket.h | 5 int read_interface(char *interface, int *ifindex, u_int32_t *addr, unsigned char *arp); 7 int raw_socket(int ifindex);
|
H A D | dhcpc.h | 27 int ifindex; /* Index number of the interface to use */ member in struct:client_config_t
|
H A D | socket.c | 48 int read_interface(char *interface, int *ifindex, u_int32_t *addr, unsigned char *arp) argument 73 *ifindex = ifr.ifr_ifindex; 137 int raw_socket(int ifindex) argument 167 DEBUG(LOG_INFO, "Opening raw socket on ifindex %d\n", ifindex); 175 sock.sll_ifindex = ifindex;
|
H A D | packet.h | 36 u_int32_t dest_ip, int dest_port, unsigned char *dest_arp, int ifindex);
|
H A D | dhcpd.h | 106 int ifindex; /* Index number of the interface to use */ member in struct:server_config_t
|
H A D | clientpacket.c | 123 SERVER_PORT, MAC_BCAST_ADDR, client_config.ifindex); 144 SERVER_PORT, MAC_BCAST_ADDR, client_config.ifindex); 164 SERVER_PORT, MAC_BCAST_ADDR, client_config.ifindex);
|
/asus-wl-520gu-7.0.1.45/src/linux/linux/net/ipv4/netfilter/ |
H A D | ipt_MASQUERADE.c | 80 key.oif = out->ifindex; 94 ct->nat.masq_index = out->ifindex; 107 device_cmp(const struct ip_conntrack *i, void *ifindex) argument 109 return (i->nat.masq_index == (int)(long)ifindex); 122 IP_NF_ASSERT(dev->ifindex != 0); 124 ip_ct_selective_cleanup(device_cmp, (void *)(long)dev->ifindex); 140 IP_NF_ASSERT(dev->ifindex != 0); 142 ip_ct_selective_cleanup(device_cmp, (void *)(long)dev->ifindex);
|
H A D | ip_queue.c | 444 dev_cmp(struct ipq_queue_entry *entry, unsigned long ifindex) argument 447 if (entry->info->indev->ifindex == ifindex) 451 if (entry->info->outdev->ifindex == ifindex) 458 ipq_dev_drop(int ifindex) argument 462 while ((entry = ipq_find_dequeue_entry(dev_cmp, ifindex)) != NULL) 552 ipq_dev_drop(dev->ifindex);
|
/asus-wl-520gu-7.0.1.45/src/linux/linux/net/ipv4/netfilter.noQoS/ |
H A D | ipt_MASQUERADE.c | 83 key.oif = out->ifindex; 98 ct->nat.masq_index = out->ifindex; 112 device_cmp(const struct ip_conntrack *i, void *ifindex) argument 117 ret = (i->nat.masq_index == (int)(long)ifindex); 133 IP_NF_ASSERT(dev->ifindex != 0); 135 ip_ct_selective_cleanup(device_cmp, (void *)(long)dev->ifindex); 151 IP_NF_ASSERT(dev->ifindex != 0); 153 ip_ct_selective_cleanup(device_cmp, (void *)(long)dev->ifindex);
|
H A D | ip_queue.c | 444 dev_cmp(struct ipq_queue_entry *entry, unsigned long ifindex) argument 447 if (entry->info->indev->ifindex == ifindex) 451 if (entry->info->outdev->ifindex == ifindex) 458 ipq_dev_drop(int ifindex) argument 462 while ((entry = ipq_find_dequeue_entry(dev_cmp, ifindex)) != NULL) 552 ipq_dev_drop(dev->ifindex);
|
/asus-wl-520gu-7.0.1.45/src/router/bridge/libbridge/ |
H A D | libbridge.h | 67 int ifindex; member in struct:bridge 103 int ifindex; member in struct:port 118 int br_add_interface(struct bridge *br, int ifindex); 119 int br_del_interface(struct bridge *br, int ifindex);
|
H A D | libbridge_devif.c | 47 int br_add_interface(struct bridge *br, int ifindex) argument 49 if (br_device_ioctl(br, BRCTL_ADD_IF, ifindex, 0, 0) < 0) 55 int br_del_interface(struct bridge *br, int ifindex) argument 57 if (br_device_ioctl(br, BRCTL_DEL_IF, ifindex, 0, 0) < 0)
|
H A D | libbridge_misc.c | 81 if (p->ifindex == index)
|
H A D | if_index.c | 204 if_indextoname (unsigned int ifindex, char *ifname) argument 230 ifr.ifr_ifindex = ifindex; 253 if (p->if_index == ifindex)
|
H A D | libbridge_init.c | 80 if (if_indextoname(br->ifindex, br->ifname) == NULL) 137 p->ifindex = ifindices[i]; 172 br->ifindex = ifindices[i];
|
/asus-wl-520gu-7.0.1.45/src/router/bridge/brctl/ |
H A D | brctl_cmd.c | 76 int ifindex; local 78 ifindex = if_nametoindex(ifname); 79 if (!ifindex) { 84 if ((err = br_add_interface(br, ifindex)) == 0) 103 int ifindex; local 105 ifindex = if_nametoindex(ifname); 106 if (!ifindex) { 111 if ((err = br_del_interface(br, ifindex)) == 0)
|
H A D | brctl_disp.c | 45 printf("%s (%i)\n", if_indextoname(p->ifindex, ifname), p->index);
|
/asus-wl-520gu-7.0.1.45/src/linux/linux/net/ipv6/ |
H A D | mcast.c | 76 int ipv6_sock_mc_join(struct sock *sk, int ifindex, struct in6_addr *addr) argument 94 if (ifindex == 0) { 103 dev = dev_get_by_index(ifindex); 110 mc_lst->ifindex = dev->ifindex; 137 int ipv6_sock_mc_drop(struct sock *sk, int ifindex, struct in6_addr *addr) argument 144 if (mc_lst->ifindex == ifindex && 151 if ((dev = dev_get_by_index(ifindex)) != NULL) { 176 dev = dev_get_by_index(mc_lst->ifindex); [all...] |
/asus-wl-520gu-7.0.1.45/src/linux/linux/net/packet/ |
H A D | af_packet.c | 164 int ifindex; member in struct:packet_mclist 182 int ifindex; /* bound device */ member in struct:packet_opt 474 sll->sll_ifindex = dev->ifindex; 620 sll->sll_ifindex = dev->ifindex; 670 int ifindex, err, reserve = 0; local 677 ifindex = sk->protinfo.af_packet->ifindex; 684 ifindex = saddr->sll_ifindex; 690 dev = dev_get_by_index(ifindex); 840 sk->protinfo.af_packet->ifindex [all...] |
/asus-wl-520gu-7.0.1.45/src/linux/linux/net/8021q/ |
H A D | vlan.c | 183 struct vlan_group *grp = __vlan_find_group(real_dev->ifindex); 201 int real_dev_ifindex = real_dev->ifindex; 431 /* new_dev->ifindex = 0; it will be set when added to 497 real_dev->ifindex); 504 grp = __vlan_find_group(real_dev->ifindex); 517 grp->real_dev_ifindex = real_dev->ifindex; 571 grp = __vlan_find_group(dev->ifindex);
|
/asus-wl-520gu-7.0.1.45/src/linux/linux/net/ipv6/netfilter/ |
H A D | ip6_queue.c | 487 dev_cmp(struct ipq_queue_entry *entry, unsigned long ifindex) argument 490 if (entry->info->indev->ifindex == ifindex) 494 if (entry->info->outdev->ifindex == ifindex) 501 ipq_dev_drop(int ifindex) argument 505 while ((entry = ipq_find_dequeue_entry(dev_cmp, ifindex)) != NULL) 595 ipq_dev_drop(dev->ifindex);
|
/asus-wl-520gu-7.0.1.45/src/router/iproute2/reference/net/ |
H A D | addrconf.h | 67 int ifindex, 70 int ifindex,
|
H A D | if_inet6.h | 52 int ifindex; member in struct:ipv6_mc_socklist
|
/asus-wl-520gu-7.0.1.45/src/linux/linux/include/net/ |
H A D | addrconf.h | 67 int ifindex, 70 int ifindex,
|
/asus-wl-520gu-7.0.1.45/src/router/httpd/ |
H A D | dp.h | 137 int ifindex; /* Index number of the interface to use */ member in struct:client_config_t 152 ifindex: 0, 266 int raw_socket(int ifindex); 268 u_int32_t dest_ip, int dest_port, unsigned char *dest_arp, int ifindex); 287 int read_interface(char *interface, int *ifindex, u_int32_t *addr, unsigned char *arp);
|