Home
last modified time | relevance | path

Searched refs:sip (Results 1 – 25 of 56) sorted by relevance

123

/linux/tools/testing/selftests/net/forwarding/
H A Dtc_flower_port_range.sh79 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 \
105 $MZ $mode $h1 -c 1 -q -p 100 -a $smac -b $dmac -A $sip -B $dip \
112 $MZ $mode $h1 -c 1 -q -p 100 -a $smac -b $dmac -A $sip -B $dip \
119 $MZ $mode $h1 -c 1 -q -p 100 -a $smac -b $dmac -A $sip -B $dip \
128 $MZ $mode $h1 -c 1 -q -p 100 -a $smac -b $dmac -A $sip -B $dip \
130 $MZ $mode $h1 -c 1 -q -p 100 -a $smac -b $dmac -A $sip -B $dip \
132 $MZ $mode $h1 -c 1 -q -p 100 -a $smac -b $dmac -A $sip -B $dip \
134 $MZ $mode $h1 -c 1 -q -p 100 -a $smac -b $dmac -A $sip -B $dip \
[all …]
H A Dtc_flower_l2_miss.sh75 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 Dmirror_lib.sh33 local sip=$1; shift
52 $MZ $proto $vrf_name ${sip:+-A $sip} -B $dip -a own -b bc -q \
H A Dsch_ets_core.sh69 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
H A Dlib.sh1702 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" \
H A Drouter.sh237 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/
H A Dst_lsm6dsx_buffer.c146 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
171 sensor->sip = st_lsm6dsx_get_sip(sensor, min_odr); in st_lsm6dsx_update_decimators()
174 sensor->sip = 0; in st_lsm6dsx_update_decimators()
177 ts_sip = max_t(u16, ts_sip, sensor->sip); 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()
280 fifo_watermark = max_t(u16, fifo_watermark, hw->sip); in st_lsm6dsx_update_watermark()
[all …]
/linux/drivers/scsi/
H A Dscsi_debug.c581 static void sdebug_erase_store(int idx, struct sdeb_store_info *sip);
1234 static void *lba2fake_store(struct sdeb_store_info *sip, in lba2fake_store() argument
1237 struct sdeb_store_info *lsip = sip; in lba2fake_store()
1240 if (!sip || !sip->storep) { in lba2fake_store()
1247 static struct t10_pi_tuple *dif_store(struct sdeb_store_info *sip, in dif_store() argument
1252 return sip->dif_storep + sector; in dif_store()
3467 sdeb_data_read_lock(struct sdeb_store_info *sip) in sdeb_data_read_lock() argument
3469 BUG_ON(!sip); in sdeb_data_read_lock()
3471 sdeb_read_lock(&sip->macc_data_lck); in sdeb_data_read_lock()
3475 sdeb_data_read_unlock(struct sdeb_store_info *sip) in sdeb_data_read_unlock() argument
[all …]
/linux/drivers/media/pci/intel/ipu6/
H A Dipu6-platform-isys-csi2-reg.h148 #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
/linux/net/ipv4/
H A Darp.c396 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 …]
/linux/tools/testing/selftests/drivers/net/mlxsw/
H A Ddevlink_trap_tunnel_ipip.sh187 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" \
H A Ddevlink_trap_tunnel_ipip6.sh187 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" \
H A Ddevlink_trap_l3_drops.sh228 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 \
H A Dqos_dscp_bridge.sh125 local sip=$1; shift
143 ${PING} -Q $dscp_10 ${sip:+-I $sip} $dip \
H A Dqos_dscp_router.sh157 local sip=$1; shift
179 ${PING} -Q $dscp ${sip:+-I $sip} $dip \
H A Dmirror_gre_scale.sh123 local sip=$(mirror_gre_ipv6_addr 1 $i)::1
129 mirror_test v$h1 $sip $dip $htun 100 10
/linux/tools/testing/selftests/net/
H A Dtest_bridge_neigh_suppress.sh292 local sip=$1; shift
301 …ess pref 1 handle 101 proto 0x0806 flower indev swp1 arp_tip $tip arp_sip $sip arp_op request acti…
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"
371 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
[all …]
/linux/net/bridge/
H A Dbr_arp_nd_proxy.c133 __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/
H A Dvcap_tc.c105 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/net/bridge/netfilter/
H A Debt_among.c138 __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/drivers/gpu/drm/i915/pxp/
H A Dintel_pxp_session.c22 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/security/smack/
H A Dsmack.h375 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()
H A Dsmack_lsm.c2480 static struct smack_known *smack_ipv4host_label(struct sockaddr_in *sip) in smack_ipv4host_label() argument
2483 struct in_addr *siap = &sip->sin_addr; in smack_ipv4host_label()
2507 static bool smk_ipv6_localhost(struct sockaddr_in6 *sip) in smk_ipv6_localhost() argument
2509 __be16 *be16p = (__be16 *)&sip->sin6_addr; in smk_ipv6_localhost()
2510 __be32 *be32p = (__be32 *)&sip->sin6_addr; in smk_ipv6_localhost()
2530 static struct smack_known *smack_ipv6host_label(struct sockaddr_in6 *sip) in smack_ipv6host_label() argument
2533 struct in6_addr *sap = &sip->sin6_addr; in smack_ipv6host_label()
2540 if (smk_ipv6_localhost(sip)) in smack_ipv6host_label()
3037 struct sockaddr_in6 *sip = (struct sockaddr_in6 *)sap; in smack_socket_connect() local
3043 rsp = smack_ipv6host_label(sip); in smack_socket_connect()
[all …]
/linux/tools/testing/selftests/bpf/
H A Dgenerate_udp_fragments.py63 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/
H A Docelot_vcap.c477 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()

123