| /linux/tools/testing/selftests/net/forwarding/ |
| H A D | tc_flower_port_range.sh | 80 local sip=$1; shift 96 flower src_ip $sip dst_ip $dip ip_proto $ip_proto \ 101 flower src_ip $sip dst_ip $dip ip_proto $ip_proto \ 106 $MZ $mode $h1 -c 1 -q -p 100 -a $smac -b $dmac -A $sip -B $dip \ 113 $MZ $mode $h1 -c 1 -q -p 100 -a $smac -b $dmac -A $sip -B $dip \ 120 $MZ $mode $h1 -c 1 -q -p 100 -a $smac -b $dmac -A $sip -B $dip \ 129 $MZ $mode $h1 -c 1 -q -p 100 -a $smac -b $dmac -A $sip -B $dip \ 131 $MZ $mode $h1 -c 1 -q -p 100 -a $smac -b $dmac -A $sip -B $dip \ 133 $MZ $mode $h1 -c 1 -q -p 100 -a $smac -b $dmac -A $sip -B $dip \ 135 $MZ $mode $h1 -c 1 -q -p 100 -a $smac -b $dmac -A $sip -B $dip \ [all …]
|
| H A D | tc_flower_l2_miss.sh | 75 local sip=192.0.2.1 81 flower indev $swp1 l2_miss 1 dst_mac $dmac src_ip $sip \ 85 flower indev $swp1 l2_miss 0 dst_mac $dmac src_ip $sip \ 89 $MZ $h1 -a own -b $dmac -t ip -A $sip -B $dip -c 1 -p 100 -q 100 $MZ $h1 -a own -b $dmac -t ip -A $sip -B $dip -c 1 -p 100 -q 111 $MZ $h1 -a own -b $dmac -t ip -A $sip -B $dip -c 1 -p 100 -q 128 local sip=$1; shift 138 flower indev $swp1 l2_miss 1 src_ip $sip dst_ip $dip \ 142 flower indev $swp1 l2_miss 0 src_ip $sip dst_ip $dip \ 146 $MZ $mode $h1 -a own -b $dmac -t ip -A $sip -B $dip -c 1 -p 100 -q [all …]
|
| H A D | mirror_lib.sh | 33 local sip=$1; shift 52 $MZ $proto $vrf_name ${sip:+-A $sip} -B $dip -a own -b bc -q \
|
| H A D | router.sh | 240 local sip=$1; shift 250 create_mcast_sg $rp1 $sip $dip $rp2 260 delete_mcast_sg $rp1 $sip $dip $rp2 338 local sip=169.254.1.1 347 flower src_ip "$sip" action pass 350 -A "$sip" -B 198.51.100.2 -q
|
| H A D | lib.sh | 1654 local sip=$1; shift 1659 $MZ $h_in -p $pktsize -A $sip -B $dip -c 0 \ 1668 local sip=$1; shift 1673 __start_traffic $pktsize udp "$h_in" "$sip" "$dip" "$dmac" \ 1681 local sip=$1; shift 1686 __start_traffic $pktsize tcp "$h_in" "$sip" "$dip" "$dmac" \ 1693 local sip=$1; shift 1698 start_traffic_pktsize 8000 "$h_in" "$sip" "$dip" "$dmac" \ 1705 local sip=$1; shift 1710 start_tcp_traffic_pktsize 8000 "$h_in" "$sip" " [all...] |
| /linux/drivers/media/pci/intel/ipu6/ |
| H A D | ipu6-platform-isys-csi2-reg.h | 148 #define CSI2_HUB_GPREG_SIP_SRST(sip) (0x238038 + (sip) * 4) argument 149 #define CSI2_HUB_GPREG_SIP_FB_PORT_CFG(sip) (0x238050 + (sip) * 4) argument 161 #define CSI2_SIP_TOP_CSI_RX_BASE(sip) (0x23805c + (sip) * 0x48) argument
|
| H A D | ipu6-isys-jsl-phy.c | 143 unsigned int sip = port / 2; in ipu6_isys_csi2_set_port_cfg() local 164 isys->pdata->base + CSI2_HUB_GPREG_SIP_FB_PORT_CFG(sip)); in ipu6_isys_csi2_set_port_cfg()
|
| /linux/net/ipv4/ |
| H A D | arp.c | 396 static int arp_ignore(struct in_device *in_dev, __be32 sip, __be32 tip) in arp_ignore() argument 405 sip = 0; in arp_ignore() 415 sip = 0; in arp_ignore() 429 return !inet_confirm_addr(net, in_dev, sip, tip, scope); in arp_ignore() 432 static int arp_accept(struct in_device *in_dev, __be32 sip) in arp_accept() argument 446 return !!inet_confirm_addr(net, in_dev, sip, 0, scope); in arp_accept() 452 static int arp_filter(__be32 sip, __be32 tip, struct net_device *dev) in arp_filter() argument 459 rt = ip_route_output(net, sip, tip, 0, l3mdev_master_ifindex_rcu(dev), in arp_filter() 521 __be32 sip, __be32 tip) in arp_fwd_pvlan() argument 528 if (sip == tip) in arp_fwd_pvlan() [all …]
|
| H A D | ipconfig.c | 503 __be32 sip, tip; in ic_rarp_recv() local 557 memcpy(&sip, rarp_ptr, 4); in ic_rarp_recv() 568 if (ic_servaddr != NONE && ic_servaddr != sip) in ic_rarp_recv() 575 ic_servaddr = sip; in ic_rarp_recv() 576 ic_addrservaddr = sip; in ic_rarp_recv()
|
| /linux/tools/testing/selftests/net/ |
| H A D | test_bridge_neigh_suppress.sh | 311 local sip=$1; shift 320 run_cmd "tc -n $sw1 filter replace dev vx0 egress pref 1 handle 101 proto 0x0806 flower indev swp1 arp_tip $tip arp_sip $sip arp_op request action pass" 324 run_cmd "ip netns exec $h1 arping -q -b -c 1 -w 5 -s $sip -I eth0.$vid $tip" 335 run_cmd "ip netns exec $h1 arping -q -b -c 1 -w 5 -s $sip -I eth0.$vid $tip" 346 run_cmd "ip netns exec $h1 arping -q -b -c 1 -w 5 -s $sip -I eth0.$vid $tip" 356 run_cmd "ip netns exec $h1 arping -q -b -c 1 -w 5 -s $sip -I eth0.$vid $tip" 366 run_cmd "ip netns exec $h1 arping -q -b -c 1 -w 5 -s $sip -I eth0.$vid $tip" 380 run_cmd "ip netns exec $h1 arping -q -b -c 1 -w 5 -s $sip -I eth0.$vid $tip" 390 run_cmd "ip netns exec $h1 arping -q -b -c 1 -w 5 -s $sip -I eth0.$vid $tip" 399 local sip [all...] |
| H A D | tun.c | 733 void *sip, *dip, *smac, *dmac; in FIXTURE_SETUP() local 745 assign_ifaddr_vars(family, 1, &sip, &dip, &smac, &dmac); in FIXTURE_SETUP() 747 ret = ip_addr_add(self->ifname, family, sip, prefix); in FIXTURE_SETUP() 751 ret = ip_route_check(self->ifname, family, sip); in FIXTURE_SETUP() 760 assign_ifaddr_vars(family, 0, &sip, &dip, &smac, &dmac); in FIXTURE_SETUP() 762 ret = ip_addr_add(param_dev_geneve_name, family, sip, prefix); in FIXTURE_SETUP() 766 ret = ip_route_check(param_dev_geneve_name, family, sip); in FIXTURE_SETUP() 797 void *sip, *dip, *smac, *dmac; in build_gso_packet_into_tun() local 810 assign_ifaddr_vars(outer_family, 1, &sip, &dip, &smac, &dmac); in build_gso_packet_into_tun() 820 cur += build_ipv4_header(cur, IPPROTO_UDP, pktlen, dip, sip); in build_gso_packet_into_tun() [all …]
|
| /linux/drivers/net/ethernet/microchip/vcap/ |
| H A D | vcap_tc.c | 105 struct vcap_u128_key sip; in vcap_tc_flower_handler_ipv6_usage() local 111 vcap_netbytes_copy(sip.value, mt.key->src.s6_addr, 16); in vcap_tc_flower_handler_ipv6_usage() 112 vcap_netbytes_copy(sip.mask, mt.mask->src.s6_addr, 16); in vcap_tc_flower_handler_ipv6_usage() 114 VCAP_KF_L3_IP6_SIP, &sip); in vcap_tc_flower_handler_ipv6_usage() 359 if (mt.mask->sip) { in vcap_tc_flower_handler_arp_usage() 360 ipval = be32_to_cpu((__force __be32)mt.key->sip); in vcap_tc_flower_handler_arp_usage() 361 ipmsk = be32_to_cpu((__force __be32)mt.mask->sip); in vcap_tc_flower_handler_arp_usage()
|
| /linux/tools/testing/selftests/drivers/net/mlxsw/ |
| H A D | qos_dscp_bridge.sh | 125 local sip=$1; shift 143 ${PING} -Q $dscp_10 ${sip:+-I $sip} $dip \
|
| H A D | qos_dscp_router.sh | 157 local sip=$1; shift 179 ${PING} -Q $dscp ${sip:+-I $sip} $dip \
|
| H A D | mirror_gre_scale.sh | 123 local sip=$(mirror_gre_ipv6_addr 1 $i)::1 129 mirror_test v$h1 $sip $dip $htun 100 10
|
| /linux/net/bridge/netfilter/ |
| H A D | ebt_among.c | 138 __be32 dip = 0, sip = 0; in ebt_among_mt() local 145 if (get_ip_src(skb, &sip)) in ebt_among_mt() 149 if (!ebt_mac_wormhash_contains(wh_src, smac, sip)) in ebt_among_mt() 153 if (ebt_mac_wormhash_contains(wh_src, smac, sip)) in ebt_among_mt()
|
| /linux/tools/testing/selftests/bpf/ |
| H A D | generate_udp_fragments.py | 63 sip = "0.0.0.0" 72 pkt = IP(src=sip,dst=dip) / UDP(sport=sport,dport=dport,chksum=0) / Raw(load=payload)
|
| /linux/security/smack/ |
| H A D | smack.h | 399 struct inode_smack *sip = smack_inode(isp); in smk_inode_transmutable() local 400 return (sip->smk_flags & SMK_INODE_TRANSMUTE) != 0; in smk_inode_transmutable() 408 struct inode_smack *sip = smack_inode(isp); in smk_of_inode() local 409 return sip->smk_inode; in smk_of_inode()
|
| H A D | smack_lsm.c | 2505 * @sip: the object end in smack_sk_clone_security() 2515 static struct smack_known *smack_ipv4host_label(struct sockaddr_in *sip) 2518 struct in_addr *siap = &sip->sin_addr; 2539 * @sip: the address in smack_ipv4host_label() 2543 static bool smk_ipv6_localhost(struct sockaddr_in6 *sip) 2545 __be16 *be16p = (__be16 *)&sip->sin6_addr; 2546 __be32 *be32p = (__be32 *)&sip->sin6_addr; 2556 * @sip: the object end in smk_ipv6_localhost() 2566 static struct smack_known *smack_ipv6host_label(struct sockaddr_in6 *sip) 2569 struct in6_addr *sap = &sip 2520 smack_ipv4host_label(struct sockaddr_in * sip) smack_ipv4host_label() argument 2548 smk_ipv6_localhost(struct sockaddr_in6 * sip) smk_ipv6_localhost() argument 2571 smack_ipv6host_label(struct sockaddr_in6 * sip) smack_ipv6host_label() argument 3083 struct sockaddr_in6 *sip = (struct sockaddr_in6 *)sap; smack_socket_connect() local 4020 struct sockaddr_in *sip = (struct sockaddr_in *) msg->msg_name; smack_socket_sendmsg() local 4146 smk_skb_to_addr_ipv6(struct sk_buff * skb,struct sockaddr_in6 * sip) smk_skb_to_addr_ipv6() argument [all...] |
| /linux/drivers/net/ethernet/mscc/ |
| H A D | ocelot_vcap.c | 477 arp->sip.value.addr, arp->sip.mask.addr); in is2_entry_set() 490 struct ocelot_vcap_ipv4 sip, dip; in is2_entry_set() local 502 sip = ipv4->sip; in is2_entry_set() 524 val = ipv6->sip.value[i + 8]; in is2_entry_set() 525 msk = ipv6->sip.mask[i + 8]; in is2_entry_set() 530 sip.value.addr[i - 4] = val; in is2_entry_set() 531 sip.mask.addr[i - 4] = msk; in is2_entry_set() 561 sip.value.addr, sip.mask.addr); in is2_entry_set() 721 struct ocelot_vcap_ipv4 sip = ipv4->sip; in is1_entry_set() local 731 sip.value.addr, sip.mask.addr); in is1_entry_set()
|
| /linux/arch/powerpc/kvm/ |
| H A D | book3s_hv_builtin.c | 254 struct kvm_split_mode *sip = local_paca->kvm_hstate.kvm_split_mode; in kvmhv_commence_exit() local 280 if (!sip) in kvmhv_commence_exit() 284 vc = sip->vc[i]; in kvmhv_commence_exit()
|
| /linux/include/soc/mscc/ |
| H A D | ocelot_vcap.h | 542 struct ocelot_vcap_ipv4 sip; /* Sender IP address */ member 552 struct ocelot_vcap_ipv4 sip; /* Source IP address */ member 570 struct ocelot_vcap_u128 sip; /* IPv6 source (byte 0-7 ignored) */ member
|
| /linux/drivers/net/ethernet/chelsio/cxgb4/ |
| H A D | cxgb4_uld.h | 254 __be32 sip, __be16 sport, __be16 vlan, 257 const struct in6_addr *sip, __be16 sport, 262 __be32 sip, __be16 sport, __be16 vlan,
|
| /linux/drivers/net/ethernet/chelsio/cxgb3/ |
| H A D | cxgb3_ioctl.h | 154 uint32_t sip; member
|
| /linux/include/net/ |
| H A D | flow_dissector.h | 173 __u32 sip; member
|