Home
last modified time | relevance | path

Searched refs:subnet (Results 1 – 23 of 23) sorted by relevance

/linux/tools/testing/selftests/net/
H A Dtest_neigh.sh74 local subnet=$1; shift
249 run_cmd "ip -n $ns1 neigh add ${subnet}3 lladdr $mac nud stale dev veth0"
253 run_cmd "ip -n $ns1 neigh add ${subnet}$((i + 4)) nud none dev veth0"
261 run_cmd "ip -n $ns1 neigh get ${subnet}3 dev veth0"
294 run_cmd "ip -n $ns1 neigh add ${subnet}3 lladdr $mac nud stale dev veth0"
298 run_cmd "ip -n $ns1 neigh add ${subnet}$((i + 4)) nud none dev veth0"
307 run_cmd "ip -n $ns1 neigh get ${subnet}3 dev veth0"
/linux/tools/testing/selftests/drivers/net/mlxsw/
H A Ddevlink_trap_l3_drops.sh518 local subnet=$1; shift
529 ip -$flags route add blackhole $subnet
542 ip -$flags route del blackhole $subnet
657 local subnet=$1; shift
666 ip -$flags route add $subnet nhid 1
679 ip -$flags route del $subnet
H A Ddevlink_trap_l3_exceptions.sh403 local subnet=$1; shift
414 ip address add $extra_add/$subnet dev $h2
448 ip address del $extra_add/$subnet dev $h2
/linux/fs/afs/
H A Daddr_prefs.c155 int subnet = min(a->subnet_mask, b->subnet_mask); in afs_cmp_address_pref() local
174 while (subnet > 32) { in afs_cmp_address_pref()
180 subnet -= 32; in afs_cmp_address_pref()
183 if (subnet == 0) in afs_cmp_address_pref()
186 mask = 0xffffffffU << (32 - subnet); in afs_cmp_address_pref()
/linux/drivers/net/wireguard/selftest/
H A Dallowedips.c118 static __init inline u8 horrible_mask_to_cidr(union nf_inet_addr subnet) in horrible_mask_to_cidr() argument
120 return hweight32(subnet.all[0]) + hweight32(subnet.all[1]) + in horrible_mask_to_cidr()
121 hweight32(subnet.all[2]) + hweight32(subnet.all[3]); in horrible_mask_to_cidr()
/linux/Documentation/networking/
H A Darcnet.rst405 I assigned it one on a "private subnet" (as defined by RFC1597).
418 route add freedom arc0 /* I would use the subnet here (like I said
420 but the rest of the subnet
443 freedom for this subnet).
446 provider) has an IP address on a different subnet than freedom and
456 that is on my private subnet, the same subnet that patience is on. I
466 giving its IP address as gatekeeper (on the private subnet). When it
472 assign insight another special IP number from my private subnet. Since
491 (registered Internet subnet) (RFC1597 private subnet)
H A Dnetconsole.rst430 in case the remote logging agent is on a separate LAN subnet than
H A Drepresentors.rst231 another IP address on the same subnet, mean that packets sent by the VF should
H A Dip-sysctl.rst2086 subnet, and have the ARPs for each interface be answered
2110 subnet for this interface. This mode is useful when target
2116 such subnet. If there is no such subnet we select source
2145 sender's IP address are part from same subnet on this interface
2170 subnet as an address configured on the interface that received the
3215 source IP address is in the same subnet as an address configured on
/linux/drivers/scsi/be2iscsi/
H A Dbe_iscsi.c344 u8 *ip = NULL, *subnet = NULL, *gw; in beiscsi_iface_config_ipv4() local
379 subnet = info->value; in beiscsi_iface_config_ipv4()
382 ip, subnet); in beiscsi_iface_config_ipv4()
389 subnet = info->value; in beiscsi_iface_config_ipv4()
396 ip, subnet); in beiscsi_iface_config_ipv4()
H A Dbe_mgmt.c553 u8 *subnet, u32 ip_type) in beiscsi_if_set_ip() argument
576 if (subnet) in beiscsi_if_set_ip()
578 subnet, ip_len); in beiscsi_if_set_ip()
597 u8 *ip, u8 *subnet) in beiscsi_if_en_static() argument
638 rc = beiscsi_if_set_ip(phba, ip, subnet, ip_type); in beiscsi_if_en_static()
H A Dbe_mgmt.h175 u8 *ip, u8 *subnet);
/linux/tools/testing/selftests/net/netfilter/
H A Dnft_nat.sh49 subnet="$2"
52 ip -net "$ns" addr add "10.0.$subnet.99/24" dev eth0
53 ip -net "$ns" route add default via "10.0.$subnet.1"
54 ip -net "$ns" addr add "dead:$subnet::99/64" dev eth0 nodad
55 ip -net "$ns" route add default via "dead:$subnet::1"
/linux/Documentation/scsi/
H A Dcxgb3i.rst73 same as the ethX's ip address or an address on the same subnet. Make
/linux/net/ipv4/
H A Dfib_frontend.c1226 int subnet = 0; /* Primary network */ in fib_del_ifaddr() local
1250 subnet = 1; in fib_del_ifaddr()
1336 if (subnet && ifa->ifa_prefixlen < 31) { in fib_del_ifaddr()
/linux/drivers/scsi/
H A Discsi_boot_sysfs.c162 iscsi_boot_rd_attr(eth_subnet, subnet-mask, ISCSI_BOOT_ETH_SUBNET_MASK);
H A Dscsi_transport_iscsi.c340 iscsi_iface_net_attr(ipv4_iface, subnet, ISCSI_NET_PARAM_IPV4_SUBNET);
/linux/tools/hv/
H A Dhv_kvp_daemon.c1390 static int process_ip_string_nm(FILE *f, char *ip_string, char *subnet, in process_ip_string_nm() argument
1404 parse_ip_val_buffer(subnet, in process_ip_string_nm()
/linux/Documentation/ABI/stable/
H A Dsysfs-class-infiniband60 sm_sl: (RO) Subnet manager SL for port's subnet
62 sm_lid: (RO) Subnet manager LID for port's subnet
/linux/Documentation/admin-guide/nfs/
H A Dnfsroot.rst124 <gw-ip> IP address of a gateway if the server is on a different subnet.
/linux/Documentation/networking/device_drivers/ethernet/intel/
H A Dixgbe.rst323 subnet masking. In the following command::
H A Dice.rst319 To add a TCPv4 filter with a partial mask for a source IP subnet::
/linux/Documentation/admin-guide/LSM/
H A DSmack.rst720 write access on LABEL1, and access to the subnet @IP2/MASK if it has write