Home
last modified time | relevance | path

Searched refs:number (Results 1 – 25 of 36) sorted by relevance

12

/net/atm/
Dresources.c51 static struct atm_dev *__atm_dev_lookup(int number) in __atm_dev_lookup() argument
58 if (dev->number == number) { in __atm_dev_lookup()
66 struct atm_dev *atm_dev_lookup(int number) in atm_dev_lookup() argument
71 dev = __atm_dev_lookup(number); in atm_dev_lookup()
78 const struct atmdev_ops *ops, int number, in atm_dev_register() argument
89 if (number != -1) { in atm_dev_register()
90 inuse = __atm_dev_lookup(number); in atm_dev_register()
97 dev->number = number; in atm_dev_register()
99 dev->number = 0; in atm_dev_register()
100 while ((inuse = __atm_dev_lookup(dev->number))) { in atm_dev_register()
[all …]
Dclip.c270 to_atmarpd(act_need, PRIV(neigh->dev)->number, *ip); in clip_neigh_solicit()
364 to_atmarpd(act_need, PRIV(dev)->number, *((__be32 *)n->primary_key)); in clip_start_xmit()
510 static int clip_create(int number) in clip_create() argument
516 if (number != -1) { in clip_create()
518 if (PRIV(dev)->number == number) in clip_create()
521 number = 0; in clip_create()
523 if (PRIV(dev)->number >= number) in clip_create()
524 number = PRIV(dev)->number + 1; in clip_create()
531 sprintf(dev->name, "atm%d", number); in clip_create()
533 clip_priv->number = number; in clip_create()
[all …]
Datm_sysfs.c63 return scnprintf(buf, PAGE_SIZE, "%d\n", adev->number); in show_atmindex()
127 if (add_uevent_var(env, "NAME=%s%d", adev->type, adev->number)) in atm_uevent()
155 dev_set_name(cdev, "%s%d", adev->type, adev->number); in atm_register_sysfs()
Dproc.c57 seq_printf(seq, "%3d %-8s", dev->number, dev->type); in atm_dev_info()
165 vcc->dev->number, vcc->vpi, vcc->vci, in pvc_info()
198 seq_printf(seq, "%3d %3d %5d ", vcc->dev->number, vcc->vpi, in vcc_info()
224 vcc->dev->number, vcc->vpi, vcc->vci); in svc_info()
418 dev->proc_name = kasprintf(GFP_KERNEL, "%s:%d", dev->type, dev->number); in atm_proc_dev_register()
Dbr2684.c85 int number; member
131 if (BRPRIV(net_dev)->number == s->spec.devnum) in br2684_find_dev()
707 brdev->number = 1; in br2684_create()
709 brdev->number = BRPRIV(list_entry_brdev(br2684_devs.prev))->number + 1; in br2684_create()
792 brdev->number, in br2684_seq_show()
799 "\n", brvcc->atmvcc->dev->number, in br2684_seq_show()
Dioctl.c288 if (copy_in_user(&sioc->number, &sioc32->number, 2 * sizeof(int)) || in do_atmif_sioc()
Dpvc.c100 addr->sap_addr.itf = vcc->dev->number; in pvc_getname()
Daddr.c43 pvc.sap_addr.itf = dev->number; in notify_sigd()
DKconfig72 large number of IP-only vcc's. Do not enable this unless you are sure
Dsignaling.c229 .number = 999,
/net/netfilter/
Dxt_u32.c36 pos = ct->location[0].number; in u32_match_it()
48 u_int32_t number = ct->location[i].number; in u32_match_it() local
51 val &= number; in u32_match_it()
54 val <<= number; in u32_match_it()
57 val >>= number; in u32_match_it()
63 pos = number; in u32_match_it()
Dx_tables.c56 unsigned int number; /* number of slots in compat_tab[] */ member
502 if (!xp->number) in xt_compat_add_offset()
504 xp->compat_tab = vmalloc(sizeof(struct compat_delta) * xp->number); in xt_compat_add_offset()
510 if (xp->cur >= xp->number) in xt_compat_add_offset()
527 xt[af].number = 0; in xt_compat_flush_offsets()
551 void xt_compat_init_offsets(u_int8_t af, unsigned int number) in xt_compat_init_offsets() argument
553 xt[af].number = number; in xt_compat_init_offsets()
1164 if (num_counters != private->number) { in xt_replace_table()
1166 num_counters, private->number); in xt_replace_table()
1197 private->number); in xt_replace_table()
[all …]
/net/netfilter/ipvs/
DKconfig55 value of 2 to the your input number power. The number to choose is
56 from 8 to 20, the default number is 12, which means the table size
57 is 4096. Don't input the number too small, otherwise you will lose
60 not far less than the number of connections per second multiplying
71 You can overwrite this number setting conn_tab_bits module parameter
139 connections to the server with the least number of active
234 sent to the ith server, in which Ci is the number of connections
277 FTP is a protocol that transfers IP address and/or port number in
279 the IP address and port number of real servers cannot be sent to
/net/ipv4/netfilter/
Darp_tables.c385 newinfo->number)) in mark_source_chains()
544 newinfo->number = repl->num_entries; in translate_table()
552 offsets = xt_alloc_entry_offsets(newinfo->number); in translate_table()
661 countersize = sizeof(struct xt_counters) * private->number; in alloc_counters()
786 xt_compat_init_offsets(NFPROTO_ARP, info->number); in compat_table_info()
834 info.num_entries = private->number; in get_info()
925 if ((oldinfo->number > oldinfo->initial_entries) || in __do_replace()
926 (newinfo->number <= oldinfo->initial_entries)) in __do_replace()
928 if ((oldinfo->number > oldinfo->initial_entries) && in __do_replace()
929 (newinfo->number <= oldinfo->initial_entries)) in __do_replace()
[all …]
Dip_tables.c456 newinfo->number)) in mark_source_chains()
696 newinfo->number = repl->num_entries; in translate_table()
704 offsets = xt_alloc_entry_offsets(newinfo->number); in translate_table()
810 countersize = sizeof(struct xt_counters) * private->number; in alloc_counters()
955 xt_compat_init_offsets(AF_INET, info->number); in compat_table_info()
1003 info.num_entries = private->number; in get_info()
1092 if ((oldinfo->number > oldinfo->initial_entries) || in __do_replace()
1093 (newinfo->number <= oldinfo->initial_entries)) in __do_replace()
1095 if ((oldinfo->number > oldinfo->initial_entries) && in __do_replace()
1096 (newinfo->number <= oldinfo->initial_entries)) in __do_replace()
[all …]
/net/ipv6/netfilter/
Dip6_tables.c484 newinfo->number)) in mark_source_chains()
724 newinfo->number = repl->num_entries; in translate_table()
732 offsets = xt_alloc_entry_offsets(newinfo->number); in translate_table()
838 countersize = sizeof(struct xt_counters) * private->number; in alloc_counters()
983 xt_compat_init_offsets(AF_INET6, info->number); in compat_table_info()
1031 info.num_entries = private->number; in get_info()
1121 if ((oldinfo->number > oldinfo->initial_entries) || in __do_replace()
1122 (newinfo->number <= oldinfo->initial_entries)) in __do_replace()
1124 if ((oldinfo->number > oldinfo->initial_entries) && in __do_replace()
1125 (newinfo->number <= oldinfo->initial_entries)) in __do_replace()
[all …]
/net/irda/irnet/
Dirnet_irda.c454 int number; /* Number of nodes in the log */ in irnet_dname_to_daddr() local
460 discoveries = irlmp_get_discoveries(&number, 0xffff, in irnet_dname_to_daddr()
471 for(i = 0; i < number; i++) in irnet_dname_to_daddr()
705 int number; /* Number of nodes in the log */ in irnet_daddr_to_dname() local
711 discoveries = irlmp_get_discoveries(&number, 0xffff, in irnet_daddr_to_dname()
718 for(i = 0; i < number; i++) in irnet_daddr_to_dname()
/net/rose/
Drose_route.c102 rose_neigh->number = rose_neigh_no++; in rose_add_node()
388 sn->number = rose_neigh_no++; in rose_add_loopback_neigh()
1136 rose_node->neighbour[i]->number); in rose_node_show()
1207 rose_neigh->number, in rose_neigh_show()
1295 rose_route->neigh1->number); in rose_route_show()
1306 rose_route->neigh2->number); in rose_route_show()
/net/l2tp/
DKconfig62 L2TP has since been adopted for tunneling a number of other
81 in IP packets, it used IP protocol number 115, so this port
/net/sunrpc/auth_gss/
Dgss_rpc_upcall.c369 .number = GSSPROXY_VERS_1,
383 .number = GSSPROXY_PROGRAM,
/net/sunrpc/
Drpcb_clnt.c1116 .number = RPCBVERS_2,
1122 .number = RPCBVERS_3,
1128 .number = RPCBVERS_4,
1145 .number = RPCBIND_PROGRAM,
/net/netrom/
Dnr_route.c150 nr_neigh->number = nr_neigh_no++; in nr_add_node()
432 nr_neigh->number = nr_neigh_no++; in nr_add_neigh()
906 nr_node->routes[i].neighbour->number); in nr_node_show()
963 nr_neigh->number, in nr_neigh_show()
/net/irda/
Dirlmp.c958 int number; /* Number of nodes in the log */ in irlmp_notify_client() local
983 discoveries = irlmp_copy_discoveries(log, &number, in irlmp_notify_client()
991 for(i = 0; i < number; i++) in irlmp_notify_client()
1037 void irlmp_discovery_expiry(discinfo_t *expiries, int number) in irlmp_discovery_expiry() argument
1051 for(i = 0; i < number; i++) { in irlmp_discovery_expiry()
/net/netfilter/ipset/
DKconfig16 int "Maximum number of IP sets"
21 You can define here default value of the maximum number
/net/mac80211/
DKconfig80 possible, as drafts leave a number of identifiers to be defined after
318 connect more stations than the number selected here.)

12