| /freebsd-13.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-13.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-13.1/share/examples/ppp/ |
| H A D | ppp.secret.sample | 39 subnet * 192.2.18.35-192.2.18.70 subnet
|
| /freebsd-13.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-13.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-13.1/contrib/wpa/wpa_supplicant/examples/ |
| H A D | udhcpd-p2p.conf | 87 option subnet 255.255.255.0
|
| /freebsd-13.1/lib/libc/net/ |
| H A D | networks | 7 your-netmask 255.255.255 # subnet mask for your-net
|
| /freebsd-13.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-13.1/share/examples/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-13.1/contrib/unbound/util/ |
| H A D | configlexer.lex | 365 send-client-subnet{COLON} { YDVAR(1, VAR_SEND_CLIENT_SUBNET) } 366 client-subnet-zone{COLON} { YDVAR(1, VAR_CLIENT_SUBNET_ZONE) } 367 client-subnet-always-forward{COLON} { YDVAR(1, VAR_CLIENT_SUBNET_ALWAYS_FORWARD) } 368 client-subnet-opcode{COLON} { YDVAR(1, VAR_CLIENT_SUBNET_OPCODE) } 369 max-client-subnet-ipv4{COLON} { YDVAR(1, VAR_MAX_CLIENT_SUBNET_IPV4) } 370 max-client-subnet-ipv6{COLON} { YDVAR(1, VAR_MAX_CLIENT_SUBNET_IPV6) } 371 min-client-subnet-ipv4{COLON} { YDVAR(1, VAR_MIN_CLIENT_SUBNET_IPV4) } 372 min-client-subnet-ipv6{COLON} { YDVAR(1, VAR_MIN_CLIENT_SUBNET_IPV6) }
|
| /freebsd-13.1/contrib/unbound/util/shm_side/ |
| H A D | shm_main.c | 281 shm_stat->mem.subnet = 0; in shm_main_run() 283 shm_stat->mem.subnet = (long long)mod_get_mem(&worker->env, in shm_main_run()
|
| /freebsd-13.1/contrib/unbound/libunbound/ |
| H A D | unbound.h | 670 long long subnet; member
|
| /freebsd-13.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-13.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-13.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-13.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;
|
| /freebsd-13.1/contrib/unbound/daemon/ |
| H A D | worker.c | 126 size_t subnet = 0; in worker_mem_report() local 150 subnet += (*worker->env.mesh->mods.mod[i]->get_mem) in worker_mem_report() 171 total += subnet; in worker_mem_report() 178 (unsigned)subnet, (unsigned)anch, (unsigned)ac, in worker_mem_report() 195 size_t subnet = 0; in worker_mem_report() 209 subnet += (*worker->env.mesh->mods.mod[i]->get_mem) in worker_mem_report() 219 (unsigned)val, (unsigned)subnet); in worker_mem_report()
|
| /freebsd-13.1/contrib/unbound/doc/ |
| H A D | README | 79 * --enable-subnet 80 Enable EDNS client subnet processing.
|
| /freebsd-13.1/contrib/unbound/ |
| H A D | configure.ac | 1008 AC_ARG_ENABLE(subnet, AS_HELP_STRING([--enable-subnet],[Enable client subnet])) optenable 1011 AC_DEFINE([CLIENT_SUBNET], [1], [Define this to enable client subnet option.]) 1012 SUBNET_OBJ="edns-subnet.lo subnetmod.lo addrtree.lo subnet-whitelist.lo" 1014 …R='$(srcdir)/edns-subnet/subnetmod.h $(srcdir)/edns-subnet/edns-subnet.h $(srcdir)/edns-subnet/sub…
|
| /freebsd-13.1/sbin/natd/samples/ |
| H A D | natd.cf.sample | 87 # number, even when the inside number is on the same subnet as they are!
|