/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt/router/samba-3.5.8/source4/lib/socket/ |
H A D | netif.c | 47 static int _get_interfaces(struct iface_struct *ifaces, int max_interfaces) argument 62 memset(&ifaces[total], '\0', sizeof(ifaces[total])); 78 ifaces[total].ip = ((struct sockaddr_in *)ifptr->ifa_addr)->sin_addr; 79 ifaces[total].netmask = ((struct sockaddr_in *)ifptr->ifa_netmask)->sin_addr; 81 strlcpy(ifaces[total].name, ifptr->ifa_name, 82 sizeof(ifaces[total].name)); 104 int get_interfaces(struct iface_struct *ifaces, int max_interfaces) argument 108 total = _get_interfaces(ifaces, max_interfaces); 112 qsort(ifaces, tota [all...] |
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src/router/samba-3.5.8/source4/lib/socket/ |
H A D | netif.c | 47 static int _get_interfaces(struct iface_struct *ifaces, int max_interfaces) argument 62 memset(&ifaces[total], '\0', sizeof(ifaces[total])); 78 ifaces[total].ip = ((struct sockaddr_in *)ifptr->ifa_addr)->sin_addr; 79 ifaces[total].netmask = ((struct sockaddr_in *)ifptr->ifa_netmask)->sin_addr; 81 strlcpy(ifaces[total].name, ifptr->ifa_name, 82 sizeof(ifaces[total].name)); 104 int get_interfaces(struct iface_struct *ifaces, int max_interfaces) argument 108 total = _get_interfaces(ifaces, max_interfaces); 112 qsort(ifaces, tota [all...] |
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/router/samba-3.5.8/source4/lib/socket/ |
H A D | netif.c | 47 static int _get_interfaces(struct iface_struct *ifaces, int max_interfaces) argument 62 memset(&ifaces[total], '\0', sizeof(ifaces[total])); 78 ifaces[total].ip = ((struct sockaddr_in *)ifptr->ifa_addr)->sin_addr; 79 ifaces[total].netmask = ((struct sockaddr_in *)ifptr->ifa_netmask)->sin_addr; 81 strlcpy(ifaces[total].name, ifptr->ifa_name, 82 sizeof(ifaces[total].name)); 104 int get_interfaces(struct iface_struct *ifaces, int max_interfaces) argument 108 total = _get_interfaces(ifaces, max_interfaces); 112 qsort(ifaces, tota [all...] |
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt/router/wpa_supplicant/wpa_supplicant/ |
H A D | main_winmain.c | 31 struct wpa_interface *ifaces, *iface; local 44 iface = ifaces = os_zalloc(sizeof(struct wpa_interface)); 45 if (ifaces == NULL) 61 if ((ifaces[i].confname == NULL && 62 ifaces[i].ctrl_interface == NULL) || 63 ifaces[i].ifname == NULL) { 70 if (wpa_supplicant_add_iface(global, &ifaces[i]) == NULL) 79 os_free(ifaces);
|
H A D | main.c | 120 struct wpa_interface *ifaces, *iface; local 131 iface = ifaces = os_zalloc(sizeof(struct wpa_interface)); 132 if (ifaces == NULL) 222 iface = os_realloc(ifaces, iface_count * 226 ifaces = iface; 227 iface = &ifaces[iface_count - 1]; 246 if ((ifaces[i].confname == NULL && 247 ifaces[i].ctrl_interface == NULL) || 248 ifaces[i].ifname == NULL) { 256 if (wpa_supplicant_add_iface(global, &ifaces[ [all...] |
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt/router/wpa_supplicant-0.7.3/wpa_supplicant/ |
H A D | main_winmain.c | 31 struct wpa_interface *ifaces, *iface; local 44 iface = ifaces = os_zalloc(sizeof(struct wpa_interface)); 45 if (ifaces == NULL) 61 if ((ifaces[i].confname == NULL && 62 ifaces[i].ctrl_interface == NULL) || 63 ifaces[i].ifname == NULL) { 70 if (wpa_supplicant_add_iface(global, &ifaces[i]) == NULL) 79 os_free(ifaces);
|
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt/router/samba-3.5.8/source4/libcli/resolve/ |
H A D | wins.c | 31 struct interface *ifaces; member in struct:resolve_wins_data 50 wins_data->address_list, wins_data->ifaces, 66 bool resolve_context_add_wins_method(struct resolve_context *ctx, const char **address_list, struct interface *ifaces, uint16_t nbt_port, int nbt_timeout) argument 70 wins_data->ifaces = talloc_reference(wins_data, ifaces); 79 struct interface *ifaces; local 80 load_interfaces(ctx, lp_interfaces(lp_ctx), &ifaces); 81 return resolve_context_add_wins_method(ctx, lp_wins_server_list(lp_ctx), ifaces, lp_nbt_port(lp_ctx), lp_parm_int(lp_ctx, NULL, "nbt", "timeout", 1));
|
H A D | bcast.c | 30 struct interface *ifaces; member in struct:resolve_bcast_data 50 num_interfaces = iface_count(data->ifaces); 56 const char *bcast = iface_n_bcast(data->ifaces, i); 68 address_list, data->ifaces, data->nbt_port, 92 bool resolve_context_add_bcast_method(struct resolve_context *ctx, struct interface *ifaces, uint16_t nbt_port, int nbt_timeout) argument 95 data->ifaces = ifaces; 103 struct interface *ifaces; local 104 load_interfaces(ctx, lp_interfaces(lp_ctx), &ifaces); 105 return resolve_context_add_bcast_method(ctx, ifaces, lp_nbt_por [all...] |
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src/router/wpa_supplicant/wpa_supplicant/ |
H A D | main_winmain.c | 31 struct wpa_interface *ifaces, *iface; local 44 iface = ifaces = os_zalloc(sizeof(struct wpa_interface)); 45 if (ifaces == NULL) 61 if ((ifaces[i].confname == NULL && 62 ifaces[i].ctrl_interface == NULL) || 63 ifaces[i].ifname == NULL) { 70 if (wpa_supplicant_add_iface(global, &ifaces[i]) == NULL) 79 os_free(ifaces);
|
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src/router/wpa_supplicant-0.7.3/wpa_supplicant/ |
H A D | main_winmain.c | 31 struct wpa_interface *ifaces, *iface; local 44 iface = ifaces = os_zalloc(sizeof(struct wpa_interface)); 45 if (ifaces == NULL) 61 if ((ifaces[i].confname == NULL && 62 ifaces[i].ctrl_interface == NULL) || 63 ifaces[i].ifname == NULL) { 70 if (wpa_supplicant_add_iface(global, &ifaces[i]) == NULL) 79 os_free(ifaces);
|
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src/router/samba-3.5.8/source4/libcli/resolve/ |
H A D | wins.c | 31 struct interface *ifaces; member in struct:resolve_wins_data 50 wins_data->address_list, wins_data->ifaces, 66 bool resolve_context_add_wins_method(struct resolve_context *ctx, const char **address_list, struct interface *ifaces, uint16_t nbt_port, int nbt_timeout) argument 70 wins_data->ifaces = talloc_reference(wins_data, ifaces); 79 struct interface *ifaces; local 80 load_interfaces(ctx, lp_interfaces(lp_ctx), &ifaces); 81 return resolve_context_add_wins_method(ctx, lp_wins_server_list(lp_ctx), ifaces, lp_nbt_port(lp_ctx), lp_parm_int(lp_ctx, NULL, "nbt", "timeout", 1));
|
H A D | bcast.c | 30 struct interface *ifaces; member in struct:resolve_bcast_data 50 num_interfaces = iface_count(data->ifaces); 56 const char *bcast = iface_n_bcast(data->ifaces, i); 68 address_list, data->ifaces, data->nbt_port, 92 bool resolve_context_add_bcast_method(struct resolve_context *ctx, struct interface *ifaces, uint16_t nbt_port, int nbt_timeout) argument 95 data->ifaces = ifaces; 103 struct interface *ifaces; local 104 load_interfaces(ctx, lp_interfaces(lp_ctx), &ifaces); 105 return resolve_context_add_bcast_method(ctx, ifaces, lp_nbt_por [all...] |
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/router/samba-3.5.8/source4/libcli/resolve/ |
H A D | wins.c | 31 struct interface *ifaces; member in struct:resolve_wins_data 50 wins_data->address_list, wins_data->ifaces, 66 bool resolve_context_add_wins_method(struct resolve_context *ctx, const char **address_list, struct interface *ifaces, uint16_t nbt_port, int nbt_timeout) argument 70 wins_data->ifaces = talloc_reference(wins_data, ifaces); 79 struct interface *ifaces; local 80 load_interfaces(ctx, lp_interfaces(lp_ctx), &ifaces); 81 return resolve_context_add_wins_method(ctx, lp_wins_server_list(lp_ctx), ifaces, lp_nbt_port(lp_ctx), lp_parm_int(lp_ctx, NULL, "nbt", "timeout", 1));
|
H A D | bcast.c | 30 struct interface *ifaces; member in struct:resolve_bcast_data 50 num_interfaces = iface_count(data->ifaces); 56 const char *bcast = iface_n_bcast(data->ifaces, i); 68 address_list, data->ifaces, data->nbt_port, 92 bool resolve_context_add_bcast_method(struct resolve_context *ctx, struct interface *ifaces, uint16_t nbt_port, int nbt_timeout) argument 95 data->ifaces = ifaces; 103 struct interface *ifaces; local 104 load_interfaces(ctx, lp_interfaces(lp_ctx), &ifaces); 105 return resolve_context_add_bcast_method(ctx, ifaces, lp_nbt_por [all...] |
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/router/wpa_supplicant/wpa_supplicant/ |
H A D | main_winmain.c | 31 struct wpa_interface *ifaces, *iface; local 44 iface = ifaces = os_zalloc(sizeof(struct wpa_interface)); 45 if (ifaces == NULL) 61 if ((ifaces[i].confname == NULL && 62 ifaces[i].ctrl_interface == NULL) || 63 ifaces[i].ifname == NULL) { 70 if (wpa_supplicant_add_iface(global, &ifaces[i]) == NULL) 79 os_free(ifaces);
|
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/router/wpa_supplicant-0.7.3/wpa_supplicant/ |
H A D | main_winmain.c | 31 struct wpa_interface *ifaces, *iface; local 44 iface = ifaces = os_zalloc(sizeof(struct wpa_interface)); 45 if (ifaces == NULL) 61 if ((ifaces[i].confname == NULL && 62 ifaces[i].ctrl_interface == NULL) || 63 ifaces[i].ifname == NULL) { 70 if (wpa_supplicant_add_iface(global, &ifaces[i]) == NULL) 79 os_free(ifaces);
|
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src/router/samba-3.0.25b/source/lib/ |
H A D | interfaces.c | 95 static int _get_interfaces(struct iface_struct *ifaces, int max_interfaces) argument 145 strncpy(ifaces[total].name, iname, sizeof(ifaces[total].name)-1); 146 ifaces[total].name[sizeof(ifaces[total].name)-1] = 0; 147 ifaces[total].ip = ipaddr; 148 ifaces[total].netmask = nmask; 169 static int _get_interfaces(struct iface_struct *ifaces, int max_interfaces) argument 241 strncpy(ifaces[total].name, iname, sizeof(ifaces[tota 261 _get_interfaces(struct iface_struct *ifaces, int max_interfaces) argument 347 _get_interfaces(struct iface_struct *ifaces, int max_interfaces) argument 368 get_interfaces(struct iface_struct *ifaces, int max_interfaces) argument 398 struct iface_struct ifaces[MAX_INTERFACES]; local [all...] |
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt/router/samba-3.0.25b/source/lib/ |
H A D | interfaces.c | 95 static int _get_interfaces(struct iface_struct *ifaces, int max_interfaces) argument 145 strncpy(ifaces[total].name, iname, sizeof(ifaces[total].name)-1); 146 ifaces[total].name[sizeof(ifaces[total].name)-1] = 0; 147 ifaces[total].ip = ipaddr; 148 ifaces[total].netmask = nmask; 169 static int _get_interfaces(struct iface_struct *ifaces, int max_interfaces) argument 241 strncpy(ifaces[total].name, iname, sizeof(ifaces[tota 261 _get_interfaces(struct iface_struct *ifaces, int max_interfaces) argument 347 _get_interfaces(struct iface_struct *ifaces, int max_interfaces) argument 368 get_interfaces(struct iface_struct *ifaces, int max_interfaces) argument 398 struct iface_struct ifaces[MAX_INTERFACES]; local [all...] |
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/router/samba-3.0.25b/source/lib/ |
H A D | interfaces.c | 95 static int _get_interfaces(struct iface_struct *ifaces, int max_interfaces) argument 145 strncpy(ifaces[total].name, iname, sizeof(ifaces[total].name)-1); 146 ifaces[total].name[sizeof(ifaces[total].name)-1] = 0; 147 ifaces[total].ip = ipaddr; 148 ifaces[total].netmask = nmask; 169 static int _get_interfaces(struct iface_struct *ifaces, int max_interfaces) argument 241 strncpy(ifaces[total].name, iname, sizeof(ifaces[tota 261 _get_interfaces(struct iface_struct *ifaces, int max_interfaces) argument 347 _get_interfaces(struct iface_struct *ifaces, int max_interfaces) argument 368 get_interfaces(struct iface_struct *ifaces, int max_interfaces) argument 398 struct iface_struct ifaces[MAX_INTERFACES]; local [all...] |
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src/router/samba/source/lib/ |
H A D | interfaces.c | 93 static int _get_interfaces(struct iface_struct *ifaces, int max_interfaces) argument 143 strncpy(ifaces[total].name, iname, sizeof(ifaces[total].name)-1); 144 ifaces[total].name[sizeof(ifaces[total].name)-1] = 0; 145 ifaces[total].ip = ipaddr; 146 ifaces[total].netmask = nmask; 165 static int _get_interfaces(struct iface_struct *ifaces, int max_interfaces) argument 237 strncpy(ifaces[total].name, iname, sizeof(ifaces[tota 255 _get_interfaces(struct iface_struct *ifaces, int max_interfaces) argument 339 _get_interfaces(struct iface_struct *ifaces, int max_interfaces) argument 359 get_interfaces(struct iface_struct *ifaces, int max_interfaces) argument 391 struct iface_struct ifaces[MAX_INTERFACES]; local [all...] |
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt/router/samba/source/lib/ |
H A D | interfaces.c | 93 static int _get_interfaces(struct iface_struct *ifaces, int max_interfaces) argument 143 strncpy(ifaces[total].name, iname, sizeof(ifaces[total].name)-1); 144 ifaces[total].name[sizeof(ifaces[total].name)-1] = 0; 145 ifaces[total].ip = ipaddr; 146 ifaces[total].netmask = nmask; 165 static int _get_interfaces(struct iface_struct *ifaces, int max_interfaces) argument 237 strncpy(ifaces[total].name, iname, sizeof(ifaces[tota 255 _get_interfaces(struct iface_struct *ifaces, int max_interfaces) argument 339 _get_interfaces(struct iface_struct *ifaces, int max_interfaces) argument 359 get_interfaces(struct iface_struct *ifaces, int max_interfaces) argument 391 struct iface_struct ifaces[MAX_INTERFACES]; local [all...] |
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/router/samba/source/lib/ |
H A D | interfaces.c | 93 static int _get_interfaces(struct iface_struct *ifaces, int max_interfaces) argument 143 strncpy(ifaces[total].name, iname, sizeof(ifaces[total].name)-1); 144 ifaces[total].name[sizeof(ifaces[total].name)-1] = 0; 145 ifaces[total].ip = ipaddr; 146 ifaces[total].netmask = nmask; 165 static int _get_interfaces(struct iface_struct *ifaces, int max_interfaces) argument 237 strncpy(ifaces[total].name, iname, sizeof(ifaces[tota 255 _get_interfaces(struct iface_struct *ifaces, int max_interfaces) argument 339 _get_interfaces(struct iface_struct *ifaces, int max_interfaces) argument 359 get_interfaces(struct iface_struct *ifaces, int max_interfaces) argument 391 struct iface_struct ifaces[MAX_INTERFACES]; local [all...] |
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt/router/samba-3.5.8/source3/lib/ |
H A D | interfaces.c | 128 struct iface_struct *ifaces; local 153 ifaces = talloc_array(mem_ctx, struct iface_struct, count); 154 if (ifaces == NULL) { 171 memset(&ifaces[total], '\0', sizeof(ifaces[total])); 175 ifaces[total].flags = ifptr->ifa_flags; 183 memcpy(&ifaces[total].ip, ifptr->ifa_addr, copy_size); 184 memcpy(&ifaces[total].netmask, ifptr->ifa_netmask, copy_size); 186 if (ifaces[total].flags & (IFF_BROADCAST|IFF_LOOPBACK)) { 187 make_bcast(&ifaces[tota 281 struct iface_struct *ifaces; local [all...] |
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src/router/samba-3.5.8/source3/lib/ |
H A D | interfaces.c | 128 struct iface_struct *ifaces; local 153 ifaces = talloc_array(mem_ctx, struct iface_struct, count); 154 if (ifaces == NULL) { 171 memset(&ifaces[total], '\0', sizeof(ifaces[total])); 175 ifaces[total].flags = ifptr->ifa_flags; 183 memcpy(&ifaces[total].ip, ifptr->ifa_addr, copy_size); 184 memcpy(&ifaces[total].netmask, ifptr->ifa_netmask, copy_size); 186 if (ifaces[total].flags & (IFF_BROADCAST|IFF_LOOPBACK)) { 187 make_bcast(&ifaces[tota 281 struct iface_struct *ifaces; local [all...] |
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/router/samba-3.5.8/source3/lib/ |
H A D | interfaces.c | 128 struct iface_struct *ifaces; local 153 ifaces = talloc_array(mem_ctx, struct iface_struct, count); 154 if (ifaces == NULL) { 171 memset(&ifaces[total], '\0', sizeof(ifaces[total])); 175 ifaces[total].flags = ifptr->ifa_flags; 183 memcpy(&ifaces[total].ip, ifptr->ifa_addr, copy_size); 184 memcpy(&ifaces[total].netmask, ifptr->ifa_netmask, copy_size); 186 if (ifaces[total].flags & (IFF_BROADCAST|IFF_LOOPBACK)) { 187 make_bcast(&ifaces[tota 281 struct iface_struct *ifaces; local [all...] |