Searched refs:ipv4 (Results 1 - 25 of 358) sorted by path

1234567891011>>

/linux-master/drivers/net/ethernet/cisco/enic/
H A Denic_clsf.c13 /* enic_addfltr_5t - Add ipv4 5tuple filter
15 * @keys: flow_keys of ipv4 5tuple
28 data.u.ipv4.protocol = PROTO_TCP;
31 data.u.ipv4.protocol = PROTO_UDP;
38 data.u.ipv4.src_addr = ntohl(keys->addrs.v4addrs.src);
39 data.u.ipv4.dst_addr = ntohl(keys->addrs.v4addrs.dst);
40 data.u.ipv4.src_port = ntohs(keys->ports.src);
41 data.u.ipv4.dst_port = ntohs(keys->ports.dst);
42 data.u.ipv4.flags = FILTER_FIELDS_IPV4_5TUPLE;
/linux-master/drivers/scsi/qedi/
H A Dqedi_nvm_iscsi_cfg.h122 struct nvm_iscsi_initiator_ipv4 ipv4; /* 0x0 */ member in struct:nvm_iscsi_initiator
/linux-master/net/dccp/
H A DMakefile17 dccp_ipv4-y := ipv4.o
/linux-master/net/netfilter/
H A Dxt_TEE.c17 #include <net/netfilter/ipv4/nf_dup_ipv4.h>
/linux-master/tools/testing/selftests/net/forwarding/
H A Dmirror_gre_nh.sh32 sysctl_set net.ipv4.conf.all.rp_filter 0
33 sysctl_set net.ipv4.conf.$h3.rp_filter 0
38 sysctl_set net.ipv4.conf.v$h3.rp_filter 0
66 sysctl_restore net.ipv4.conf.v$h3.rp_filter 0
71 sysctl_restore net.ipv4.conf.$h3.rp_filter
72 sysctl_restore net.ipv4.conf.all.rp_filter
H A Drouter_broadcast.sh146 sysctl_set net.ipv4.conf.all.bc_forwarding 0
147 sysctl_set net.ipv4.conf.$rp1.bc_forwarding 0
148 sysctl_set net.ipv4.conf.$rp2.bc_forwarding 0
153 sysctl_set net.ipv4.conf.all.bc_forwarding 1
154 sysctl_set net.ipv4.conf.$rp1.bc_forwarding 1
155 sysctl_set net.ipv4.conf.$rp2.bc_forwarding 1
160 sysctl_restore net.ipv4.conf.$rp2.bc_forwarding
161 sysctl_restore net.ipv4.conf.$rp1.bc_forwarding
162 sysctl_restore net.ipv4.conf.all.bc_forwarding
183 sysctl_set net.ipv4
[all...]
/linux-master/tools/testing/selftests/netfilter/
H A Dbridge_brouter.sh65 ip netns exec ns0 ebtables -t broute -A BROUTING -p ipv4 --ip-protocol icmp -j redirect --redirect-target=DROP
82 ip netns exec ns0 sysctl -q net.ipv4.conf.veth0.forwarding=1
83 ip netns exec ns0 sysctl -q net.ipv4.conf.veth1.forwarding=1
103 ip netns exec ns0 ebtables -t filter -A FORWARD -p ipv4 --ip-protocol icmp -j DROP
113 ip netns exec ns0 ebtables -t broute -A BROUTING -p ipv4 --ip-protocol icmp -j redirect --redirect-target=DROP
/linux-master/tools/usb/usbip/src/
H A Dusbipd.c54 " -4, --ipv4\n"
491 static int do_standalone_mode(int daemonize, int ipv4, int ipv6) argument
523 if (ipv4 && ipv6)
525 else if (ipv4)
589 { "ipv4", no_argument, NULL, '4' },
609 int ipv4 = 0, ipv6 = 0; local
630 ipv4 = 1;
663 if (!ipv4 && !ipv6)
664 ipv4 = ipv6 = 1;
668 rc = do_standalone_mode(daemonize, ipv4, ipv
[all...]
/linux-master/drivers/infiniband/core/
H A Duverbs.h262 struct ib_uverbs_flow_spec_ipv4 ipv4; member in union:ib_uverbs_flow_spec::__anon772
H A Duverbs_cmd.c2758 memcpy(&ib_spec->ipv4.val, kern_spec_val, actual_filter_sz);
2759 memcpy(&ib_spec->ipv4.mask, kern_spec_mask, actual_filter_sz);
/linux-master/drivers/infiniband/hw/cxgb4/
H A Dcm.c1979 req->le.u.ipv4.lip = sin->sin_addr.s_addr;
1982 req->le.u.ipv4.pip = sin->sin_addr.s_addr;
4014 req->le.u.ipv4.lip = laddr;
4015 req->le.u.ipv4.pip = raddr;
/linux-master/drivers/infiniband/hw/irdma/
H A Dcm.c78 cm_info->ipv4 = cm_node->ipv4;
177 if (cm_node->ipv4)
450 if (cm_node->ipv4)
469 if (cm_node->ipv4) {
470 sqbuf->ipv4 = true;
504 sqbuf->ipv4 = false;
714 if ((cm_node->ipv4 &&
716 (!cm_node->ipv4 &&
1461 * @ipv4
1467 irdma_find_listener(struct irdma_cm_core *cm_core, u32 *dst_addr, bool ipv4, u16 dst_port, u16 vlan_id, enum irdma_cm_listener_state listener_state) argument
1558 irdma_iw_get_vlan_prio(u32 *loc_addr, u8 prio, bool ipv4) argument
4331 irdma_qhash_ctrl(struct irdma_device *iwdev, struct irdma_cm_listener *parent_listen_node, struct irdma_cm_info *nfo, u32 *ipaddr, bool ipv4, bool ifup) argument
4387 irdma_if_notify(struct irdma_device *iwdev, struct net_device *netdev, u32 *ipaddr, bool ipv4, bool ifup) argument
[all...]
H A Dcm.h262 bool ipv4:1; member in struct:irdma_cm_listener
321 bool ipv4:1; member in struct:irdma_cm_node
340 bool ipv4; member in struct:irdma_cm_info
399 int irdma_add_arp(struct irdma_pci_f *rf, u32 *ip, bool ipv4, const u8 *mac);
407 int irdma_arp_table(struct irdma_pci_f *rf, u32 *ip_addr, bool ipv4,
410 u32 *ipaddr, bool ipv4, bool ifup);
H A Dctrl.c668 FIELD_PREP(IRDMAQPC_IPV4, udp->ipv4) |
961 qw0 |= FIELD_PREP(IRDMAQPC_IPV4, tcp->ipv4) |
H A Dhw.c1657 * remove the mac ip entry and ipv4/ipv6 addresses, destroy the
2392 * @ipv4: flag inicating IPv4
2397 u32 *ip_addr, bool ipv4, u32 action)
2404 arp_index = irdma_arp_table(rf, ip_addr, ipv4, mac_addr, action);
2485 info->ipv4_valid = cminfo->ipv4;
2395 irdma_manage_arp_cache(struct irdma_pci_f *rf, const unsigned char *mac_addr, u32 *ip_addr, bool ipv4, u32 action) argument
H A Dmain.h478 u32 *ip_addr, bool ipv4, u32 action);
H A Dpuda.c280 info->ipv4 = (bool)FIELD_GET(IRDMACQ_IPV4, qword3);
435 if (info->ipv4) {
535 info.ipv4 = buf->ipv4;
1218 txbuf->ipv4 = buf->ipv4;
1628 pfpdu->max_fpdu_data = (buf->ipv4) ?
H A Dpuda.h39 bool ipv4:1; member in struct:irdma_puda_cmpl_info
51 bool ipv4:1; member in struct:irdma_puda_send_info
72 bool ipv4:1; member in struct:irdma_puda_buf
H A Dtrace.c6 const char *print_ip_addr(struct trace_seq *p, u32 *addr, u16 port, bool ipv4) argument
10 if (ipv4) {
H A Dtrace_cm.h15 #define __print_ip_addr(addr, port, ipv4) print_ip_addr(p, addr, port, ipv4)
26 __field(bool, ipv4)
30 __entry->ipv4 = cm_info->ipv4;
37 __entry->lport, __entry->ipv4)
48 __field(bool, ipv4)
53 __entry->ipv4 = listener->ipv4;
61 __entry->lport, __entry->ipv4)
[all...]
H A Dtype.h789 bool ipv4:1; member in struct:irdma_udp_offload_info
876 bool ipv4:1; member in struct:irdma_tcp_offload_info
H A Duk.c1050 info->ipv4 = (bool)FIELD_GET(IRDMACQ_IPV4, qword3);
H A Duser.h252 bool ipv4:1; member in struct:irdma_cq_poll_info
H A Dutils.c9 * @ipv4: IPv4 flag
13 int irdma_arp_table(struct irdma_pci_f *rf, u32 *ip_addr, bool ipv4, argument
20 if (ipv4)
77 * @ipv4: IPv4 flag
80 int irdma_add_arp(struct irdma_pci_f *rf, u32 *ip, bool ipv4, const u8 *mac) argument
84 arpidx = irdma_arp_table(rf, &ip[0], ipv4, NULL, IRDMA_ARP_RESOLVE);
90 ipv4, IRDMA_ARP_DELETE);
93 irdma_manage_arp_cache(rf, mac, ip, ipv4, IRDMA_ARP_ADD);
95 return irdma_arp_table(rf, ip, ipv4, NULL, IRDMA_ARP_RESOLVE);
144 * irdma_inetaddr_event - system notifier for ipv4 add
259 bool ipv4 = true; local
[all...]
H A Dverbs.c1308 udp_info->ipv4 = false;
1317 udp_info->ipv4 = true;
1329 irdma_add_arp(iwdev->rf, local_ip, udp_info->ipv4,
3734 entry->network_hdr_type = cq_poll_info->ipv4 ?
4150 * @ipv4: flag indicating IPv4 or IPv6
4153 void irdma_mcast_mac(u32 *ip_addr, u8 *mac, bool ipv4) argument
4157 if (ipv4) {
4197 bool ipv4; local
4208 ipv4 = false;
4215 ipv4
[all...]

Completed in 444 milliseconds

1234567891011>>