| /freebsd-12.1/contrib/amd/libamu/ |
| H A D | wire.c | 135 u_long subnet; in getwire_lookup() local 198 u_long short_subnet = subnet; in getwire_lookup() 209 if ((subnet & 0xffffff) == 0) { in getwire_lookup() 211 } else if ((subnet & 0xffff) == 0) { in getwire_lookup() 213 C(subnet >> 24), C(subnet >> 16)); in getwire_lookup() 214 } else if ((subnet & 0xff) == 0) { in getwire_lookup() 216 C(subnet >> 24), C(subnet >> 16), in getwire_lookup() 217 C(subnet >> 8)); in getwire_lookup() 220 C(subnet >> 24), C(subnet >> 16), in getwire_lookup() 221 C(subnet >> 8), C(subnet)); in getwire_lookup() [all …]
|
| /freebsd-12.1/sbin/dhclient/ |
| H A D | inet.c | 79 broadcast_addr(struct iaddr subnet, struct iaddr mask) in broadcast_addr() argument 84 if (subnet.len != mask.len) { in broadcast_addr() 89 for (i = 0; i < subnet.len; i++) in broadcast_addr() 90 rv.iabuf[i] = subnet.iabuf[i] | (~mask.iabuf[i] & 255); in broadcast_addr() 91 rv.len = subnet.len; in broadcast_addr()
|
| /freebsd-12.1/contrib/ipfilter/ |
| H A D | NAT.FreeBSD | 16 5) Add static routes for the subnet ranges 49 10.0.0.0 is the subnet you want to use. 51 /8 is the subnet mask. ie 255.0.0.0 55 /32 is the subnet mask 255.255.255.255, ie only use this ip address. 86 Now you have to add a static routes for the subnet ranges.
|
| /freebsd-12.1/usr.sbin/bsdconfig/networking/share/ |
| H A D | netmask.subr | 65 # Returns zero if the given argument (a subnet mask) is of the proper format. 67 # If the subnet mask is determined to be invalid, the appropriate error will be 93 # subnet mask is changed while NFS-exported directories are mounted,
|
| /freebsd-12.1/share/examples/ppp/ |
| H A D | ppp.secret.sample | 39 subnet * 192.2.18.35-192.2.18.70 subnet
|
| /freebsd-12.1/usr.sbin/bsdconfig/networking/include/ |
| H A D | messages.subr | 62 msg_ipv4_mask_field_contains_invalid_chars="ERROR! One or more individual fields within the subnet … 63 msg_ipv4_mask_field_exceeds_max_value="ERROR! One or more individual fields within the subnet mask\… 64 msg_ipv4_mask_field_invalid_value="ERROR! One or more individual fields within the subnet mask\n(se… 65 msg_ipv4_mask_field_is_null="ERROR! One or more individual fields within the subnet mask\n(separate… 66 msg_ipv4_mask_field_missing_or_extra="ERROR! The subnet mask entered has either too few or too many… 87 msg_please_enter_subnet_mask="Please enter the new network subnet mask for the %s interface:"
|
| /freebsd-12.1/contrib/unbound/util/ |
| H A D | configlexer.lex | 338 send-client-subnet{COLON} { YDVAR(1, VAR_SEND_CLIENT_SUBNET) } 339 client-subnet-zone{COLON} { YDVAR(1, VAR_CLIENT_SUBNET_ZONE) } 340 client-subnet-always-forward{COLON} { YDVAR(1, VAR_CLIENT_SUBNET_ALWAYS_FORWARD) } 341 client-subnet-opcode{COLON} { YDVAR(1, VAR_CLIENT_SUBNET_OPCODE) } 342 max-client-subnet-ipv4{COLON} { YDVAR(1, VAR_MAX_CLIENT_SUBNET_IPV4) } 343 max-client-subnet-ipv6{COLON} { YDVAR(1, VAR_MAX_CLIENT_SUBNET_IPV6) } 344 min-client-subnet-ipv4{COLON} { YDVAR(1, VAR_MIN_CLIENT_SUBNET_IPV4) } 345 min-client-subnet-ipv6{COLON} { YDVAR(1, VAR_MIN_CLIENT_SUBNET_IPV6) }
|
| /freebsd-12.1/contrib/wpa/wpa_supplicant/examples/ |
| H A D | udhcpd-p2p.conf | 87 option subnet 255.255.255.0
|
| /freebsd-12.1/lib/libc/net/ |
| H A D | networks | 7 your-netmask 255.255.255 # subnet mask for your-net
|
| /freebsd-12.1/libexec/bootpd/ |
| H A D | bootptab.mcs | 30 # sm -- subnet mask 55 # Next, we can define different master entries for each subnet. . .
|
| H A D | bootptab.cmu | 29 # sm -- subnet mask 56 # Next, we can define different master entries for each subnet. . .
|
| /freebsd-12.1/contrib/unbound/util/shm_side/ |
| H A D | shm_main.c | 275 shm_stat->mem.subnet = 0; in shm_main_run() 277 shm_stat->mem.subnet = (long long)mod_get_mem(&worker->env, in shm_main_run()
|
| /freebsd-12.1/contrib/ipfilter/rules/ |
| H A D | server | 5 # leaf subnet. We're not concerned about filtering individual services
|
| H A D | example.5 | 8 # allow any TCP packets from the same subnet as foo is on through to host
|
| H A D | example.11 | 2 # allow any TCP packets from the same subnet as foo is on through to host
|
| H A D | firewall | 33 * "int-net" is the internal network IP# subnet address range. This might
|
| H A D | nat-setup | 68 in the 10.1.2.0/24 subnet from using NAT, you might use the following rule
|
| /freebsd-12.1/contrib/unbound/libunbound/ |
| H A D | unbound.h | 640 long long subnet; member
|
| /freebsd-12.1/contrib/ntp/ |
| H A D | README | 16 well as setting up an NTP subnet, is in the HTML pages in the ./html/ 123 timekeeping subnet.
|
| /freebsd-12.1/usr.sbin/bsdconfig/share/media/ |
| H A D | tcpip.subr | 382 # Returns zero if the given argument (a subnet mask) is of the proper format. 385 # 1 One or more individual fields within the subnet mask (separated 387 # 2 One or more individual fields within the subnet mask are null 389 # 3 One or more individual fields within the subnet mask exceeds 391 # 4 The subnet mask has either too few or too many fields. 392 # 5 One or more individual fields within the subnet mask is an 430 # Returns success if $ipaddr and $gateway are in the same network given subnet 552 # Returns the IPv4 subnet mask associated with $interface. If $var_to_set is 815 subnet-mask \ 1111 # VAR_NETMASK Interface subnet mask.
|
| /freebsd-12.1/contrib/unbound/ |
| H A D | configure.ac | 925 AC_ARG_ENABLE(subnet, AC_HELP_STRING([--enable-subnet], [Enable client subnet])) optenable 928 AC_DEFINE([CLIENT_SUBNET], [1], [Define this to enable client subnet option.]) 929 SUBNET_OBJ="edns-subnet.lo subnetmod.lo addrtree.lo subnet-whitelist.lo" 931 …R='$(srcdir)/edns-subnet/subnetmod.h $(srcdir)/edns-subnet/edns-subnet.h $(srcdir)/edns-subnet/sub…
|
| H A D | Makefile.in | 100 SUBNET_SRC=edns-subnet/edns-subnet.c edns-subnet/subnetmod.c edns-subnet/addrtree.c edns-subnet/sub… 127 edns-subnet/edns-subnet.c edns-subnet/subnetmod.c \ 128 edns-subnet/addrtree.c edns-subnet/subnet-whitelist.c \ 1090 edns-subnet.lo edns-subnet.o: $(srcdir)/edns-subnet/edns-subnet.c config.h 1091 subnetmod.lo subnetmod.o: $(srcdir)/edns-subnet/subnetmod.c config.h 1092 addrtree.lo addrtree.o: $(srcdir)/edns-subnet/addrtree.c config.h $(srcdir)/util/log.h \ 1095 $(srcdir)/sldns/pkthdr.h $(srcdir)/sldns/rrdef.h $(srcdir)/edns-subnet/addrtree.h 1096 subnet-whitelist.lo subnet-whitelist.o: $(srcdir)/edns-subnet/subnet-whitelist.c config.h
|
| /freebsd-12.1/usr.sbin/ppp/ |
| H A D | README.nat | 108 communicate properly. A common error is inconsistent subnet addresses 199 In the instance that there is a subnet of public addresses and another 200 subnet of private addresses being routed by the ppp host, then only the 201 packets on the private subnet will be NAT'd.
|
| /freebsd-12.1/contrib/unbound/daemon/ |
| H A D | worker.c | 124 size_t subnet = 0; in worker_mem_report() local 148 subnet += (*worker->env.mesh->mods.mod[i]->get_mem) in worker_mem_report() 169 total += subnet; in worker_mem_report() 176 (unsigned)subnet, (unsigned)anch, (unsigned)ac, in worker_mem_report() 193 size_t subnet = 0; in worker_mem_report() 207 subnet += (*worker->env.mesh->mods.mod[i]->get_mem) in worker_mem_report() 217 (unsigned)val, (unsigned)subnet); in worker_mem_report()
|
| /freebsd-12.1/share/examples/diskless/ |
| H A D | README.BOOTP | 114 subnet 192.157.86.0 netmask 255.255.255.192 { 126 option subnet-mask 255.255.255.192;
|