Home
last modified time | relevance | path

Searched refs:subnet (Results 1 – 17 of 17) 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/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/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/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/networking/
H A Drepresentors.rst231 another IP address on the same subnet, mean that packets sent by the VF should
H A Dnetconsole.rst430 in case the remote logging agent is on a separate LAN subnet than
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/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