| /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 | 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 | 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 | 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/iio/imu/st_lsm6dsx/ |
| H A D | st_lsm6dsx_buffer.c | 148 u8 sip = sensor->hwfifo_odr_mHz / min_odr; in st_lsm6dsx_get_sip() 150 return sip > 1 ? round_down(sip, 2) : sip; in st_lsm6dsx_get_sip() 157 u16 sip = 0, ts_sip = 0; in st_lsm6dsx_update_decimators() 173 sensor->sip = st_lsm6dsx_get_sip(sensor, min_odr); in st_lsm6dsx_update_decimators() 176 sensor->sip = 0; in st_lsm6dsx_update_decimators() 179 ts_sip = max_t(u16, ts_sip, sensor->sip); in st_lsm6dsx_update_decimators() 191 sip += sensor->sip; in st_lsm6dsx_update_decimators() 147 u8 sip = sensor->hwfifo_odr_mHz / min_odr; st_lsm6dsx_get_sip() local 156 u16 sip = 0, ts_sip = 0; st_lsm6dsx_update_decimators() local 381 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() 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/drivers/scsi/ |
| H A D | scsi_debug.c | 632 static void sdebug_erase_store(int idx, struct sdeb_store_info *sip); 1313 static void *lba2fake_store(struct sdeb_store_info *sip, in scsi_debug_lbp() 1316 struct sdeb_store_info *lsip = sip; in scsi_debug_atomic_write() 1319 if (!sip || !sip->storep) { in scsi_debug_atomic_write() 1326 static struct t10_pi_tuple *dif_store(struct sdeb_store_info *sip, in lba2fake_store() 1331 return sip->dif_storep + sector; in lba2fake_store() 4044 sdeb_data_read_lock(struct sdeb_store_info *sip) in sdeb_write_unlock() 4046 BUG_ON(!sip); in sdeb_write_unlock() 4048 sdeb_read_lock(&sip in sdeb_write_unlock() 1321 lba2fake_store(struct sdeb_store_info * sip,unsigned long long lba) lba2fake_store() argument 1334 dif_store(struct sdeb_store_info * sip,sector_t sector) dif_store() argument 4052 sdeb_data_read_lock(struct sdeb_store_info * sip) sdeb_data_read_lock() argument 4060 sdeb_data_read_unlock(struct sdeb_store_info * sip) sdeb_data_read_unlock() argument 4068 sdeb_data_write_lock(struct sdeb_store_info * sip) sdeb_data_write_lock() argument 4076 sdeb_data_write_unlock(struct sdeb_store_info * sip) sdeb_data_write_unlock() argument 4084 sdeb_data_sector_read_lock(struct sdeb_store_info * sip) sdeb_data_sector_read_lock() argument 4092 sdeb_data_sector_read_unlock(struct sdeb_store_info * sip) sdeb_data_sector_read_unlock() argument 4100 sdeb_data_sector_write_lock(struct sdeb_store_info * sip) sdeb_data_sector_write_lock() argument 4108 sdeb_data_sector_write_unlock(struct sdeb_store_info * sip) sdeb_data_sector_write_unlock() argument 4129 sdeb_data_lock(struct sdeb_store_info * sip,bool atomic) sdeb_data_lock() argument 4138 sdeb_data_unlock(struct sdeb_store_info * sip,bool atomic) sdeb_data_unlock() argument 4148 sdeb_data_sector_lock(struct sdeb_store_info * sip,bool do_write) sdeb_data_sector_lock() argument 4157 sdeb_data_sector_unlock(struct sdeb_store_info * sip,bool do_write) sdeb_data_sector_unlock() argument 4166 sdeb_meta_read_lock(struct sdeb_store_info * sip) sdeb_meta_read_lock() argument 4182 sdeb_meta_read_unlock(struct sdeb_store_info * sip) sdeb_meta_read_unlock() argument 4198 sdeb_meta_write_lock(struct sdeb_store_info * sip) sdeb_meta_write_lock() argument 4214 sdeb_meta_write_unlock(struct sdeb_store_info * sip) sdeb_meta_write_unlock() argument 4230 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 4304 comp_write_worker(struct sdeb_store_info * sip,u64 lba,u32 num,const u8 * arr,bool compare_only) comp_write_worker() argument 4378 struct sdeb_store_info *sip = devip2sip((struct sdebug_dev_info *) dif_copy_prot() local 4425 struct sdeb_store_info *sip = devip2sip((struct sdebug_dev_info *) prot_verify_read() local 4558 struct sdeb_store_info *sip = devip2sip(devip, true); resp_read_dt0() local 4793 map_state(struct sdeb_store_info * sip,sector_t lba,unsigned int * num) map_state() argument 4814 map_region(struct sdeb_store_info * sip,sector_t lba,unsigned int len) map_region() argument 4829 unmap_region(struct sdeb_store_info * sip,sector_t lba,unsigned int len) unmap_region() argument 4927 struct sdeb_store_info *sip = devip2sip(devip, true); resp_write_dt0() local 5086 struct sdeb_store_info *sip = devip2sip(devip, true); resp_write_scat() local 5257 struct sdeb_store_info *sip = devip2sip((struct sdebug_dev_info *) resp_write_same() local 5422 struct sdeb_store_info *sip = devip2sip(devip, true); resp_comp_write() local 5493 struct sdeb_store_info *sip = devip2sip(devip, true); resp_unmap() local 5566 struct sdeb_store_info *sip = devip2sip(devip, true); resp_get_lba_status() local 5676 struct sdeb_store_info *sip = devip2sip(devip, true); resp_pre_fetch() local 5824 struct sdeb_store_info *sip = devip2sip(devip, true); resp_verify() local 5904 struct sdeb_store_info *sip = devip2sip(devip, false); resp_report_zones() local 6037 struct sdeb_store_info *sip; resp_atomic_write() local 6113 struct sdeb_store_info *sip = devip2sip(devip, false); resp_open_zone() local 6188 struct sdeb_store_info *sip = devip2sip(devip, false); resp_close_zone() local 6260 struct sdeb_store_info *sip = devip2sip(devip, false); resp_finish_zone() local 6304 struct sdeb_store_info *sip = devip2sip(devip, false); zbc_rwp_zone() local 6340 struct sdeb_store_info *sip = devip2sip(devip, false); resp_rwp_zone() local 7618 struct sdeb_store_info *sip; scsi_debug_show_info() local 8136 struct sdeb_store_info *sip; add_host_store() local 8253 struct sdeb_store_info *sip = xa_load(per_store_ap, 0); map_show() local 8745 sdebug_erase_store(int idx,struct sdeb_store_info * sip) sdebug_erase_store() argument 8767 struct sdeb_store_info *sip = NULL; sdebug_erase_all_stores() local 8789 struct sdeb_store_info *sip = NULL; sdebug_add_store() local [all...] |
| /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/net/bridge/ |
| H A D | br_arp_nd_proxy.c | 132 __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 sip == tip) { in br_do_proxy_suppress_arp() 213 br_arp_send(br, p, skb->dev, sip, tip, in br_do_proxy_suppress_arp() 216 br_arp_send(br, p, skb->dev, sip, tip, in br_do_proxy_suppress_arp()
|
| /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/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/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/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/fs/xfs/ |
| H A D | xfs_inode.c | 877 struct xfs_inode *sip) in xfs_projid_differ() argument 885 tdp->i_projid != sip->i_projid)) { in xfs_projid_differ() 894 if (!special_file(VFS_I(sip)->i_mode) || in xfs_projid_differ() 895 sip->i_projid != 0) { in xfs_projid_differ() 906 struct xfs_inode *sip, in xfs_link() argument 912 .ip = sip, in xfs_link() 921 ASSERT(!S_ISDIR(VFS_I(sip)->i_mode)); in xfs_link() 928 error = xfs_qm_dqattach(sip); in xfs_link() 941 error = xfs_trans_alloc_dir(tdp, &M_RES(mp)->tr_link, sip, &resblks, in xfs_link() 956 error = xfs_projid_differ(tdp, sip); in xfs_link() [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
|