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

123

/linux-master/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
[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
[all...]
H A Dmirror_lib.sh33 local sip=$1; shift
48 $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 Drouter.sh237 local sip=$1; shift
247 create_mcast_sg $rp1 $sip $dip $rp2
257 delete_mcast_sg $rp1 $sip $dip $rp2
/linux-master/drivers/iio/imu/st_lsm6dsx/
H A Dst_lsm6dsx_buffer.c146 u8 sip = sensor->odr / min_odr; local
148 return sip > 1 ? round_down(sip, 2) : sip;
155 u16 sip = 0, ts_sip = 0; local
171 sensor->sip = st_lsm6dsx_get_sip(sensor, min_odr);
174 sensor->sip = 0;
177 ts_sip = max_t(u16, ts_sip, sensor->sip);
189 sip += sensor->sip;
376 int err, sip, acc_sip, gyro_sip, ts_sip, ext_sip, read_len, offset; local
[all...]
/linux-master/net/ipv4/
H A Darp.c396 static int arp_ignore(struct in_device *in_dev, __be32 sip, __be32 tip) argument
405 sip = 0;
410 * and is in same subnet as sip
415 sip = 0;
429 return !inet_confirm_addr(net, in_dev, sip, tip, scope);
432 static int arp_accept(struct in_device *in_dev, __be32 sip) argument
442 case 2: /* Create a neighbor in the arp table only if sip
446 return !!inet_confirm_addr(net, in_dev, sip, 0, scope);
452 static int arp_filter(__be32 sip, __be32 tip, struct net_device *dev) argument
459 rt = ip_route_output(net, sip, ti
518 arp_fwd_pvlan(struct in_device *in_dev, struct net_device *dev, struct rtable *rt, __be32 sip, __be32 tip) argument
668 arp_is_garp(struct net *net, struct net_device *dev, int *addr_type, __be16 ar_op, __be32 sip, __be32 tip, unsigned char *sha, unsigned char *tha) argument
707 __be32 sip, tip; local
[all...]
/linux-master/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-master/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 Dqos_dscp_bridge.sh125 local sip=$1; shift
143 ${PING} -Q $dscp_10 ${sip:+-I $sip} $dip \
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 Dmirror_gre_scale.sh123 local sip=$(mirror_gre_ipv6_addr 1 $i)::1
129 mirror_test v$h1 $sip $dip $htun 100 10
H A Dqos_dscp_router.sh157 local sip=$1; shift
179 ${PING} -Q $dscp ${sip:+-I $sip} $dip \
/linux-master/drivers/gpu/drm/i915/pxp/
H A Dintel_pxp_session.c22 u32 sip = 0; local
26 sip = intel_uncore_read(uncore, KCR_SIP(pxp->kcr_base));
28 return sip & BIT(id);
/linux-master/net/bridge/
H A Dbr_arp_nd_proxy.c133 __be32 sip, tip; local
151 memcpy(&sip, arpptr, sizeof(sip));
152 arpptr += sizeof(sip);
165 (ipv4_is_zeronet(sip) || sip == tip)) {
208 br_arp_send(br, p, skb->dev, sip, tip,
211 br_arp_send(br, p, skb->dev, sip, tip,
/linux-master/net/bridge/netfilter/
H A Debt_among.c138 __be32 dip = 0, sip = 0; local
145 if (get_ip_src(skb, &sip))
149 if (!ebt_mac_wormhash_contains(wh_src, smac, sip))
153 if (ebt_mac_wormhash_contains(wh_src, smac, sip))
/linux-master/drivers/net/ethernet/microchip/vcap/
H A Dvcap_tc.c105 struct vcap_u128_key sip; local
111 vcap_netbytes_copy(sip.value, mt.key->src.s6_addr, 16);
112 vcap_netbytes_copy(sip.mask, mt.mask->src.s6_addr, 16);
114 VCAP_KF_L3_IP6_SIP, &sip);
359 if (mt.mask->sip) {
360 ipval = be32_to_cpu((__force __be32)mt.key->sip);
361 ipmsk = be32_to_cpu((__force __be32)mt.mask->sip);
/linux-master/drivers/scsi/
H A Dscsi_debug.c559 static void sdebug_erase_store(int idx, struct sdeb_store_info *sip);
1191 static void *lba2fake_store(struct sdeb_store_info *sip, argument
1194 struct sdeb_store_info *lsip = sip;
1197 if (!sip || !sip->storep) {
1204 static struct t10_pi_tuple *dif_store(struct sdeb_store_info *sip, argument
1209 return sip->dif_storep + sector;
3381 static int do_device_access(struct sdeb_store_info *sip, struct scsi_cmnd *scp, argument
3398 if (!sdb->length || !sip)
3406 fsp = sip
3444 comp_write_worker(struct sdeb_store_info *sip, u64 lba, u32 num, const u8 *arr, bool compare_only) argument
3518 struct sdeb_store_info *sip = devip2sip((struct sdebug_dev_info *) local
3565 struct sdeb_store_info *sip = devip2sip((struct sdebug_dev_info *) local
3600 sdeb_read_lock(struct sdeb_store_info *sip) argument
3616 sdeb_read_unlock(struct sdeb_store_info *sip) argument
3632 sdeb_write_lock(struct sdeb_store_info *sip) argument
3648 sdeb_write_unlock(struct sdeb_store_info *sip) argument
3670 struct sdeb_store_info *sip = devip2sip(devip, true); local
3895 map_state(struct sdeb_store_info *sip, sector_t lba, unsigned int *num) argument
3916 map_region(struct sdeb_store_info *sip, sector_t lba, unsigned int len) argument
3931 unmap_region(struct sdeb_store_info *sip, sector_t lba, unsigned int len) argument
3968 struct sdeb_store_info *sip = devip2sip(devip, true); local
4108 struct sdeb_store_info *sip = devip2sip(devip, true); local
4276 struct sdeb_store_info *sip = devip2sip((struct sdebug_dev_info *) local
4436 struct sdeb_store_info *sip = devip2sip(devip, true); local
4502 struct sdeb_store_info *sip = devip2sip(devip, true); local
4575 struct sdeb_store_info *sip = devip2sip(devip, true); local
4683 struct sdeb_store_info *sip = devip2sip(devip, true); local
4830 struct sdeb_store_info *sip = devip2sip(devip, true); local
4910 struct sdeb_store_info *sip = devip2sip(devip, false); local
5060 struct sdeb_store_info *sip = devip2sip(devip, false); local
5136 struct sdeb_store_info *sip = devip2sip(devip, false); local
5208 struct sdeb_store_info *sip = devip2sip(devip, false); local
5252 struct sdeb_store_info *sip = devip2sip(devip, false); local
5288 struct sdeb_store_info *sip = devip2sip(devip, false); local
6529 struct sdeb_store_info *sip; local
7047 struct sdeb_store_info *sip; local
7164 struct sdeb_store_info *sip = xa_load(per_store_ap, 0); local
7664 sdebug_erase_store(int idx, struct sdeb_store_info *sip) argument
7686 struct sdeb_store_info *sip = NULL; local
7708 struct sdeb_store_info *sip = NULL; local
[all...]
/linux-master/tools/testing/selftests/net/
H A Dtest_bridge_neigh_suppress.sh300 local sip=$1; shift
309 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"
313 run_cmd "ip netns exec $h1 arping -q -b -c 1 -w 5 -s $sip -I eth0.$vid $tip"
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"
345 run_cmd "ip netns exec $h1 arping -q -b -c 1 -w 5 -s $sip -I eth0.$vid $tip"
355 run_cmd "ip netns exec $h1 arping -q -b -c 1 -w 5 -s $sip -I eth0.$vid $tip"
369 run_cmd "ip netns exec $h1 arping -q -b -c 1 -w 5 -s $sip -I eth0.$vid $tip"
379 run_cmd "ip netns exec $h1 arping -q -b -c 1 -w 5 -s $sip -I eth0.$vid $tip"
388 local sip
[all...]
/linux-master/security/smack/
H A Dsmack.h363 struct inode_smack *sip = smack_inode(isp); local
364 return (sip->smk_flags & SMK_INODE_TRANSMUTE) != 0;
372 struct inode_smack *sip = smack_inode(isp); local
373 return sip->smk_inode;
/linux-master/drivers/net/ethernet/chelsio/cxgb3/
H A Dcxgb3_ioctl.h154 uint32_t sip; member in struct:ch_trace
/linux-master/drivers/net/ethernet/mscc/
H A Docelot_vcap.c477 arp->sip.value.addr, arp->sip.mask.addr);
490 struct ocelot_vcap_ipv4 sip, dip; local
502 sip = ipv4->sip;
524 val = ipv6->sip.value[i + 8];
525 msk = ipv6->sip.mask[i + 8];
530 sip.value.addr[i - 4] = val;
531 sip.mask.addr[i - 4] = msk;
561 sip
720 struct ocelot_vcap_ipv4 sip = ipv4->sip; local
[all...]
/linux-master/include/soc/mscc/
H A Docelot_vcap.h540 struct ocelot_vcap_ipv4 sip; /* Sender IP address */ member in struct:ocelot_vcap_key_arp
550 struct ocelot_vcap_ipv4 sip; /* Source IP address */ member in struct:ocelot_vcap_key_ipv4
568 struct ocelot_vcap_u128 sip; /* IPv6 source (byte 0-7 ignored) */ member in struct:ocelot_vcap_key_ipv6
/linux-master/drivers/net/ethernet/chelsio/cxgb4/
H A Dcxgb4_uld.h254 __be32 sip, __be16 sport, __be16 vlan,
257 const struct in6_addr *sip, __be16 sport,
262 __be32 sip, __be16 sport, __be16 vlan,

Completed in 280 milliseconds

123