/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 [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 [all...] |
H A D | sch_ets_core.sh | 69 sip() function 85 start_traffic $h1.1$i $(sip $i) $(dip $i) $dst_mac 175 vlan_create $h1 1$i v$h1 $(sip $i)/28
|
H A D | lib.sh | 1520 local sip=$1; shift 1525 $MZ $h_in -p $pktsize -A $sip -B $dip -c 0 \ 1534 local sip=$1; shift 1539 __start_traffic $pktsize udp "$h_in" "$sip" "$dip" "$dmac" \ 1547 local sip=$1; shift 1552 __start_traffic $pktsize tcp "$h_in" "$sip" "$dip" "$dmac" \ 1559 local sip=$1; shift 1564 start_traffic_pktsize 8000 "$h_in" "$sip" "$dip" "$dmac" \ 1571 local sip=$1; shift 1576 start_tcp_traffic_pktsize 8000 "$h_in" "$sip" " [all...] |
H 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/ |
H 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 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() 376 int err, sip, acc_sip, gyro_sip, ts_sip, ext_sip, read_len, offset; st_lsm6dsx_read_fifo() local [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() 410 * and is in same subnet as sip 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 442 case 2: /* Create a neighbor in the arp table only if sip in arp_accept() 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, ti in arp_filter() 521 arp_fwd_pvlan(struct in_device * in_dev,struct net_device * dev,struct rtable * rt,__be32 sip,__be32 tip) arp_fwd_pvlan() argument 673 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) arp_is_garp() argument 710 __be32 sip, tip; arp_process() local [all...] |
/linux/tools/testing/selftests/net/ |
H A D | test_bridge_neigh_suppress.sh | 294 local sip=$1; shift 303 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" 307 run_cmd "ip netns exec $h1 arping -q -b -c 1 -w 5 -s $sip -I eth0.$vid $tip" 318 run_cmd "ip netns exec $h1 arping -q -b -c 1 -w 5 -s $sip -I eth0.$vid $tip" 329 run_cmd "ip netns exec $h1 arping -q -b -c 1 -w 5 -s $sip -I eth0.$vid $tip" 339 run_cmd "ip netns exec $h1 arping -q -b -c 1 -w 5 -s $sip -I eth0.$vid $tip" 349 run_cmd "ip netns exec $h1 arping -q -b -c 1 -w 5 -s $sip -I eth0.$vid $tip" 363 run_cmd "ip netns exec $h1 arping -q -b -c 1 -w 5 -s $sip -I eth0.$vid $tip" 373 run_cmd "ip netns exec $h1 arping -q -b -c 1 -w 5 -s $sip -I eth0.$vid $tip" 382 local sip [all...] |
/linux/drivers/scsi/ |
H A D | scsi_debug.c | 637 static void sdebug_erase_store(int idx, struct sdeb_store_info *sip); 1324 static void *lba2fake_store(struct sdeb_store_info *sip, in lba2fake_store() argument 1327 struct sdeb_store_info *lsip = sip; in lba2fake_store() 1330 if (!sip || !sip->storep) { in lba2fake_store() 1337 static struct t10_pi_tuple *dif_store(struct sdeb_store_info *sip, in dif_store() argument 1342 return sip->dif_storep + sector; in dif_store() 4038 sdeb_data_read_lock(struct sdeb_store_info *sip) in sdeb_data_read_lock() argument 4040 BUG_ON(!sip); in sdeb_data_read_lock() 4042 sdeb_read_lock(&sip in sdeb_data_read_lock() 4046 sdeb_data_read_unlock(struct sdeb_store_info * sip) sdeb_data_read_unlock() argument 4054 sdeb_data_write_lock(struct sdeb_store_info * sip) sdeb_data_write_lock() argument 4062 sdeb_data_write_unlock(struct sdeb_store_info * sip) sdeb_data_write_unlock() argument 4070 sdeb_data_sector_read_lock(struct sdeb_store_info * sip) sdeb_data_sector_read_lock() argument 4078 sdeb_data_sector_read_unlock(struct sdeb_store_info * sip) sdeb_data_sector_read_unlock() argument 4086 sdeb_data_sector_write_lock(struct sdeb_store_info * sip) sdeb_data_sector_write_lock() argument 4094 sdeb_data_sector_write_unlock(struct sdeb_store_info * sip) sdeb_data_sector_write_unlock() argument 4115 sdeb_data_lock(struct sdeb_store_info * sip,bool atomic) sdeb_data_lock() argument 4124 sdeb_data_unlock(struct sdeb_store_info * sip,bool atomic) sdeb_data_unlock() argument 4134 sdeb_data_sector_lock(struct sdeb_store_info * sip,bool do_write) sdeb_data_sector_lock() argument 4143 sdeb_data_sector_unlock(struct sdeb_store_info * sip,bool do_write) sdeb_data_sector_unlock() argument 4152 sdeb_meta_read_lock(struct sdeb_store_info * sip) sdeb_meta_read_lock() argument 4168 sdeb_meta_read_unlock(struct sdeb_store_info * sip) sdeb_meta_read_unlock() argument 4184 sdeb_meta_write_lock(struct sdeb_store_info * sip) sdeb_meta_write_lock() argument 4200 sdeb_meta_write_unlock(struct sdeb_store_info * sip) sdeb_meta_write_unlock() argument 4216 do_device_access(struct sdeb_store_info * sip,struct scsi_cmnd * scp,u32 sg_skip,u64 lba,u32 num,u8 group_number,bool do_write,bool atomic) do_device_access() argument 4290 comp_write_worker(struct sdeb_store_info * sip,u64 lba,u32 num,const u8 * arr,bool compare_only) comp_write_worker() argument 4364 struct sdeb_store_info *sip = devip2sip((struct sdebug_dev_info *) dif_copy_prot() local 4411 struct sdeb_store_info *sip = devip2sip((struct sdebug_dev_info *) prot_verify_read() local 4544 struct sdeb_store_info *sip = devip2sip(devip, true); resp_read_dt0() local 4779 map_state(struct sdeb_store_info * sip,sector_t lba,unsigned int * num) map_state() argument 4800 map_region(struct sdeb_store_info * sip,sector_t lba,unsigned int len) map_region() argument 4815 unmap_region(struct sdeb_store_info * sip,sector_t lba,unsigned int len) unmap_region() argument 4913 struct sdeb_store_info *sip = devip2sip(devip, true); resp_write_dt0() local 5064 struct sdeb_store_info *sip = devip2sip(devip, true); resp_write_scat() local 5237 struct sdeb_store_info *sip = devip2sip((struct sdebug_dev_info *) resp_write_same() local 5402 struct sdeb_store_info *sip = devip2sip(devip, true); resp_comp_write() local 5473 struct sdeb_store_info *sip = devip2sip(devip, true); resp_unmap() local 5546 struct sdeb_store_info *sip = devip2sip(devip, true); resp_get_lba_status() local 5656 struct sdeb_store_info *sip = devip2sip(devip, true); resp_pre_fetch() local 5804 struct sdeb_store_info *sip = devip2sip(devip, true); resp_verify() local 5884 struct sdeb_store_info *sip = devip2sip(devip, false); resp_report_zones() local 6017 struct sdeb_store_info *sip; resp_atomic_write() local 6093 struct sdeb_store_info *sip = devip2sip(devip, false); resp_open_zone() local 6168 struct sdeb_store_info *sip = devip2sip(devip, false); resp_close_zone() local 6240 struct sdeb_store_info *sip = devip2sip(devip, false); resp_finish_zone() local 6284 struct sdeb_store_info *sip = devip2sip(devip, false); zbc_rwp_zone() local 6320 struct sdeb_store_info *sip = devip2sip(devip, false); resp_rwp_zone() local 7566 struct sdeb_store_info *sip; scsi_debug_show_info() local 8084 struct sdeb_store_info *sip; add_host_store() local 8201 struct sdeb_store_info *sip = xa_load(per_store_ap, 0); map_show() local 8693 sdebug_erase_store(int idx,struct sdeb_store_info * sip) sdebug_erase_store() argument 8715 struct sdeb_store_info *sip = NULL; sdebug_erase_all_stores() local 8737 struct sdeb_store_info *sip = NULL; sdebug_add_store() local [all...] |
/linux/tools/testing/selftests/drivers/net/mlxsw/ |
H 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" \
|
H 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" \
|
H 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 \
|
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 \
|
/linux/net/bridge/ |
H 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() 168 (ipv4_is_zeronet(sip) || sip == tip)) { in br_do_proxy_suppress_arp() 211 br_arp_send(br, p, skb->dev, sip, tip, in br_do_proxy_suppress_arp() 214 br_arp_send(br, p, skb->dev, sip, tip, in br_do_proxy_suppress_arp()
|
/linux/drivers/gpu/drm/i915/pxp/ |
H 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/ |
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/security/smack/ |
H A D | smack.h | 382 struct inode_smack *sip = smack_inode(isp); in smk_inode_transmutable() local 383 return (sip->smk_flags & SMK_INODE_TRANSMUTE) != 0; in smk_inode_transmutable() 391 struct inode_smack *sip = smack_inode(isp); in smk_of_inode() local 392 return sip->smk_inode; in smk_of_inode()
|
H A D | smack_lsm.c | 2463 * @sip: the object end 2473 static struct smack_known *smack_ipv4host_label(struct sockaddr_in *sip) in smack_ipv4host_label() argument 2476 struct in_addr *siap = &sip->sin_addr; in smack_ipv4host_label() 2497 * @sip: the address 2501 static bool smk_ipv6_localhost(struct sockaddr_in6 *sip) in smk_ipv6_localhost() argument 2503 __be16 *be16p = (__be16 *)&sip->sin6_addr; in smk_ipv6_localhost() 2504 __be32 *be32p = (__be32 *)&sip->sin6_addr; in smk_ipv6_localhost() 2514 * @sip: the object end 2524 static struct smack_known *smack_ipv6host_label(struct sockaddr_in6 *sip) in smack_ipv6host_label() argument 2527 struct in6_addr *sap = &sip in smack_ipv6host_label() 3036 struct sockaddr_in6 *sip = (struct sockaddr_in6 *)sap; smack_socket_connect() local 3927 struct sockaddr_in *sip = (struct sockaddr_in *) msg->msg_name; smack_socket_sendmsg() local 4053 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 in is2_entry_set() 721 struct ocelot_vcap_ipv4 sip = ipv4->sip; is1_entry_set() local [all...] |
/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/fs/xfs/ |
H A D | xfs_inode.c | 883 struct xfs_inode *sip, in xfs_link() argument 889 .ip = sip, in xfs_link() 898 ASSERT(!S_ISDIR(VFS_I(sip)->i_mode)); in xfs_link() 905 error = xfs_qm_dqattach(sip); in xfs_link() 918 error = xfs_trans_alloc_dir(tdp, &M_RES(mp)->tr_link, sip, &resblks, in xfs_link() 939 tdp->i_projid != sip->i_projid)) { in xfs_link() 948 if (!special_file(VFS_I(sip)->i_mode) || in xfs_link() 949 sip->i_projid != 0) { in xfs_link() 969 xfs_iunlock(sip, XFS_ILOCK_EXCL); in xfs_link() 976 xfs_iunlock(sip, XFS_ILOCK_EXC in xfs_link() [all...] |
/linux/drivers/net/ethernet/chelsio/cxgb3/ |
H A D | cxgb3_ioctl.h | 154 uint32_t sip; member
|