| /linux/tools/testing/selftests/net/forwarding/ |
| A D | tc_flower_port_range.sh | 79 local sip=$1; shift 95 flower src_ip $sip dst_ip $dip ip_proto $ip_proto \ 100 flower src_ip $sip dst_ip $dip ip_proto $ip_proto \ 153 local sip=192.0.2.1 158 __test_port_range $proto $ip_proto $sip $dip $mode "$name" 165 local sip=192.0.2.1 170 __test_port_range $proto $ip_proto $sip $dip $mode "$name" 177 local sip=2001:db8:1::1 182 __test_port_range $proto $ip_proto $sip $dip $mode "$name" 189 local sip=2001:db8:1::1 [all …]
|
| 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 \ 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 \ 185 local sip=192.0.2.1 197 local sip=2001:db8:1::1 239 local sip=192.0.2.1 247 local sip=$1; shift 272 local sip=192.0.2.1 [all …]
|
| 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 \
|
| A D | sch_ets_core.sh | 69 sip() function 85 start_traffic $h1.1$i $(sip $i) $(dip $i) $dst_mac 171 vlan_create $h1 1$i v$h1 $(sip $i)/28
|
| A D | lib.sh | 1702 local sip=$1; shift 1707 $MZ $h_in -p $pktsize -A $sip -B $dip -c 0 \ 1716 local sip=$1; shift 1721 __start_traffic $pktsize udp "$h_in" "$sip" "$dip" "$dmac" \ 1729 local sip=$1; shift 1734 __start_traffic $pktsize tcp "$h_in" "$sip" "$dip" "$dmac" \ 1741 local sip=$1; shift 1746 start_traffic_pktsize 8000 "$h_in" "$sip" "$dip" "$dmac" \ 1753 local sip=$1; shift 1758 start_tcp_traffic_pktsize 8000 "$h_in" "$sip" "$dip" "$dmac" \
|
| A D | router.sh | 237 local sip=$1; shift 247 create_mcast_sg $rp1 $sip $dip $rp2 257 delete_mcast_sg $rp1 $sip $dip $rp2
|
| /linux/drivers/iio/imu/st_lsm6dsx/ |
| A D | st_lsm6dsx_buffer.c | 146 u8 sip = sensor->odr / min_odr; in st_lsm6dsx_get_sip() local 148 return sip > 1 ? round_down(sip, 2) : sip; in st_lsm6dsx_get_sip() 155 u16 sip = 0, ts_sip = 0; in st_lsm6dsx_update_decimators() local 174 sensor->sip = 0; in st_lsm6dsx_update_decimators() 189 sip += sensor->sip; in st_lsm6dsx_update_decimators() 191 hw->sip = sip + ts_sip; in st_lsm6dsx_update_decimators() 262 if (!hw->sip) in st_lsm6dsx_update_watermark() 281 fifo_watermark = (fifo_watermark / hw->sip) * hw->sip; in st_lsm6dsx_update_watermark() 432 acc_sip = acc_sensor->sip; in st_lsm6dsx_read_fifo() 435 sip = 0; in st_lsm6dsx_read_fifo() [all …]
|
| /linux/drivers/media/pci/intel/ipu6/ |
| 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
|
| 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/drivers/scsi/ |
| A D | scsi_debug.c | 1240 if (!sip || !sip->storep) { in lba2fake_store() 3584 if (sip) in sdeb_meta_read_lock() 3589 if (sip) in sdeb_meta_read_lock() 3600 if (sip) in sdeb_meta_read_unlock() 3605 if (sip) in sdeb_meta_read_unlock() 3616 if (sip) in sdeb_meta_write_lock() 3621 if (sip) in sdeb_meta_write_lock() 3632 if (sip) in sdeb_meta_write_unlock() 3637 if (sip) in sdeb_meta_write_unlock() 7484 if (sip) in map_show() [all …]
|
| /linux/net/ipv4/ |
| A D | arp.c | 405 sip = 0; in arp_ignore() 415 sip = 0; in arp_ignore() 521 __be32 sip, __be32 tip) in arp_fwd_pvlan() argument 528 if (sip == tip) in arp_fwd_pvlan() 671 __be32 sip, __be32 tip, in arp_is_garp() argument 674 bool is_garp = tip == sip; in arp_is_garp() 708 __be32 sip, tip; in arp_process() local 771 memcpy(&sip, arp_ptr, 4); in arp_process() 828 if (sip == 0) { in arp_process() 853 sip, dev, tip, sha, in arp_process() [all …]
|
| /linux/tools/testing/selftests/drivers/net/mlxsw/ |
| A D | devlink_trap_tunnel_ipip.sh | 187 local sip=$1; shift 200 -A $sip -B 192.0.2.65 -t ip len=48,proto=47,p=$payload -q & 217 local sip=192.0.2.66 226 "Decap error: Key exists but was not expected" $sip "2" \ 237 "Decap error: Key does not exist but was expected" $sip "0" 239 "Decap error: Packet has a wrong key field" $sip "2" \
|
| A D | devlink_trap_tunnel_ipip6.sh | 187 local sip=$1; shift 200 -A $sip -B 2001:db8:3::1 -t ip next=47,p=$payload -q & 217 local sip=2001:db8:3::2 226 "Decap error: Key exists but was not expected" $sip "2" \ 238 "Decap error: Key does not exist but was expected" $sip "0" 240 "Decap error: Packet has a wrong key field" $sip "2" \
|
| A D | devlink_trap_l3_drops.sh | 228 local sip=$1; shift 239 flower src_ip $sip action drop 242 $MZ $h1 $flags -t udp "sp=54321,dp=12345" -c 0 -p 100 -A $sip \ 297 local sip=$1; shift 308 flower src_ip $sip action drop 311 $MZ $h1 $flags -t udp "sp=54321,dp=12345" -c 0 -p 100 -A $sip \ 331 local sip=255.255.255.255 339 flower src_ip $sip action drop 342 $MZ $h1 -t udp "sp=54321,dp=12345" -c 0 -p 100 -A $sip -b $rp1mac \
|
| A D | qos_dscp_bridge.sh | 125 local sip=$1; shift 143 ${PING} -Q $dscp_10 ${sip:+-I $sip} $dip \
|
| A D | qos_dscp_router.sh | 157 local sip=$1; shift 179 ${PING} -Q $dscp ${sip:+-I $sip} $dip \
|
| 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/tools/testing/selftests/net/ |
| A D | test_bridge_neigh_suppress.sh | 292 local sip=$1; shift 305 run_cmd "ip netns exec $h1 arping -q -b -c 1 -w 5 -s $sip -I eth0.$vid $tip" 316 run_cmd "ip netns exec $h1 arping -q -b -c 1 -w 5 -s $sip -I eth0.$vid $tip" 327 run_cmd "ip netns exec $h1 arping -q -b -c 1 -w 5 -s $sip -I eth0.$vid $tip" 337 run_cmd "ip netns exec $h1 arping -q -b -c 1 -w 5 -s $sip -I eth0.$vid $tip" 347 run_cmd "ip netns exec $h1 arping -q -b -c 1 -w 5 -s $sip -I eth0.$vid $tip" 361 run_cmd "ip netns exec $h1 arping -q -b -c 1 -w 5 -s $sip -I eth0.$vid $tip" 380 local sip=192.0.2.1 383 neigh_suppress_arp_common $vid $sip $tip 386 sip=192.0.2.17 [all …]
|
| /linux/net/bridge/ |
| A D | br_arp_nd_proxy.c | 133 __be32 sip, tip; in br_do_proxy_suppress_arp() local 151 memcpy(&sip, arpptr, sizeof(sip)); in br_do_proxy_suppress_arp() 152 arpptr += sizeof(sip); in br_do_proxy_suppress_arp() 165 (ipv4_is_zeronet(sip) || sip == tip)) { in br_do_proxy_suppress_arp() 208 br_arp_send(br, p, skb->dev, sip, tip, in br_do_proxy_suppress_arp() 211 br_arp_send(br, p, skb->dev, sip, tip, in br_do_proxy_suppress_arp()
|
| /linux/drivers/net/ethernet/microchip/vcap/ |
| 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/drivers/gpu/drm/i915/pxp/ |
| A D | intel_pxp_session.c | 22 u32 sip = 0; in intel_pxp_session_is_in_play() local 26 sip = intel_uncore_read(uncore, KCR_SIP(pxp->kcr_base)); in intel_pxp_session_is_in_play() 28 return sip & BIT(id); in intel_pxp_session_is_in_play()
|
| /linux/net/bridge/netfilter/ |
| 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/security/smack/ |
| A D | smack.h | 375 struct inode_smack *sip = smack_inode(isp); in smk_inode_transmutable() local 376 return (sip->smk_flags & SMK_INODE_TRANSMUTE) != 0; in smk_inode_transmutable() 384 struct inode_smack *sip = smack_inode(isp); in smk_of_inode() local 385 return sip->smk_inode; in smk_of_inode()
|
| /linux/tools/testing/selftests/bpf/ |
| 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/drivers/net/ethernet/mscc/ |
| 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()
|