ipv4 1099 drivers/crypto/chelsio/chtls/chtls_cm.c ipv4.sysctl_tcp_window_scaling, ipv4 1228 drivers/crypto/chelsio/chtls/chtls_cm.c sock_net(sk)->ipv4.sysctl_tcp_window_scaling) { ipv4 1236 drivers/crypto/chelsio/chtls/chtls_cm.c ecn_ok = sock_net(sk)->ipv4.sysctl_tcp_ecn; ipv4 262 drivers/infiniband/core/uverbs.h struct ib_uverbs_flow_spec_ipv4 ipv4; ipv4 2767 drivers/infiniband/core/uverbs_cmd.c memcpy(&ib_spec->ipv4.val, kern_spec_val, actual_filter_sz); ipv4 2768 drivers/infiniband/core/uverbs_cmd.c memcpy(&ib_spec->ipv4.mask, kern_spec_mask, actual_filter_sz); ipv4 122 drivers/infiniband/core/uverbs_std_types_flow_action.c const struct ib_uverbs_flow_ipv4_filter ipv4 = { ipv4 141 drivers/infiniband/core/uverbs_std_types_flow_action.c struct ib_uverbs_flow_ipv4_filter ipv4; ipv4 151 drivers/infiniband/core/uverbs_std_types_flow_action.c sizeof(ipv4.flags) != sizeof(ipv4)); ipv4 157 drivers/infiniband/core/uverbs_std_types_flow_action.c if (len > sizeof(user_val.ipv4) && ipv4 158 drivers/infiniband/core/uverbs_std_types_flow_action.c !ib_is_buffer_cleared(val_ptr + sizeof(user_val.ipv4), ipv4 159 drivers/infiniband/core/uverbs_std_types_flow_action.c len - sizeof(user_val.ipv4))) ipv4 162 drivers/infiniband/core/uverbs_std_types_flow_action.c val_len = min_t(size_t, len, sizeof(user_val.ipv4)); ipv4 163 drivers/infiniband/core/uverbs_std_types_flow_action.c ret = copy_from_user(&user_val.ipv4, val_ptr, ipv4 168 drivers/infiniband/core/uverbs_std_types_flow_action.c user_pmask = &ipv4; ipv4 1976 drivers/infiniband/hw/cxgb4/cm.c req->le.u.ipv4.lip = sin->sin_addr.s_addr; ipv4 1979 drivers/infiniband/hw/cxgb4/cm.c req->le.u.ipv4.pip = sin->sin_addr.s_addr; ipv4 4013 drivers/infiniband/hw/cxgb4/cm.c req->le.u.ipv4.lip = laddr; ipv4 4014 drivers/infiniband/hw/cxgb4/cm.c req->le.u.ipv4.pip = raddr; ipv4 411 drivers/infiniband/hw/i40iw/i40iw.h bool ipv4, ipv4 217 drivers/infiniband/hw/i40iw/i40iw_cm.c cm_info->ipv4 = cm_node->ipv4; ipv4 267 drivers/infiniband/hw/i40iw/i40iw_cm.c if (cm_node->ipv4) ipv4 410 drivers/infiniband/hw/i40iw/i40iw_cm.c if (cm_node->ipv4) ipv4 426 drivers/infiniband/hw/i40iw/i40iw_cm.c if (cm_node->ipv4) { ipv4 427 drivers/infiniband/hw/i40iw/i40iw_cm.c sqbuf->ipv4 = true; ipv4 458 drivers/infiniband/hw/i40iw/i40iw_cm.c sqbuf->ipv4 = false; ipv4 1586 drivers/infiniband/hw/i40iw/i40iw_cm.c if (child_listen_node->ipv4) ipv4 1900 drivers/infiniband/hw/i40iw/i40iw_cm.c event.cm_info.ipv4 = loopback->ipv4; ipv4 1923 drivers/infiniband/hw/i40iw/i40iw_cm.c nfo.ipv4 = listener->ipv4; ipv4 2173 drivers/infiniband/hw/i40iw/i40iw_cm.c cm_node->ipv4 = cm_info->ipv4; ipv4 2212 drivers/infiniband/hw/i40iw/i40iw_cm.c if (cm_node->ipv4) { ipv4 2236 drivers/infiniband/hw/i40iw/i40iw_cm.c if ((cm_node->ipv4 && ipv4 2238 drivers/infiniband/hw/i40iw/i40iw_cm.c (!cm_node->ipv4 && i40iw_ipv6_is_loopback(cm_node->loc_addr, ipv4 2251 drivers/infiniband/hw/i40iw/i40iw_cm.c if (cm_node->ipv4) ipv4 2893 drivers/infiniband/hw/i40iw/i40iw_cm.c listener->ipv4 = cm_info->ipv4; ipv4 2957 drivers/infiniband/hw/i40iw/i40iw_cm.c loopback_cm_info.ipv4 = cm_info->ipv4; ipv4 3162 drivers/infiniband/hw/i40iw/i40iw_cm.c if (rbuf->ipv4) { ipv4 3165 drivers/infiniband/hw/i40iw/i40iw_cm.c cm_info.ipv4 = true; ipv4 3173 drivers/infiniband/hw/i40iw/i40iw_cm.c cm_info.ipv4 = false; ipv4 3302 drivers/infiniband/hw/i40iw/i40iw_cm.c tcp_info->ipv4 = cm_node->ipv4; ipv4 3338 drivers/infiniband/hw/i40iw/i40iw_cm.c if (cm_node->ipv4) { ipv4 3664 drivers/infiniband/hw/i40iw/i40iw_cm.c cm_node->ipv4 = true; ipv4 3667 drivers/infiniband/hw/i40iw/i40iw_cm.c cm_node->ipv4 = false; ipv4 3704 drivers/infiniband/hw/i40iw/i40iw_cm.c if ((cm_node->ipv4 && ipv4 3706 drivers/infiniband/hw/i40iw/i40iw_cm.c (!cm_node->ipv4 && ipv4 3856 drivers/infiniband/hw/i40iw/i40iw_cm.c cm_info.ipv4 = true; ipv4 3865 drivers/infiniband/hw/i40iw/i40iw_cm.c cm_info.ipv4 = false; ipv4 3889 drivers/infiniband/hw/i40iw/i40iw_cm.c if ((cm_info.ipv4 && (laddr->sin_addr.s_addr != raddr->sin_addr.s_addr)) || ipv4 3890 drivers/infiniband/hw/i40iw/i40iw_cm.c (!cm_info.ipv4 && memcmp(laddr6->sin6_addr.in6_u.u6_addr32, ipv4 3936 drivers/infiniband/hw/i40iw/i40iw_cm.c if (cm_info.ipv4) ipv4 3976 drivers/infiniband/hw/i40iw/i40iw_cm.c cm_info.ipv4 = true; ipv4 3986 drivers/infiniband/hw/i40iw/i40iw_cm.c cm_info.ipv4 = false; ipv4 4013 drivers/infiniband/hw/i40iw/i40iw_cm.c if (cm_info.ipv4) ipv4 4252 drivers/infiniband/hw/i40iw/i40iw_cm.c u32 *ipaddr, bool ipv4, bool ifup) ipv4 4267 drivers/infiniband/hw/i40iw/i40iw_cm.c if (!memcmp(child_listen_node->loc_addr, ipaddr, ipv4 ? 4 : 16)) ipv4 4280 drivers/infiniband/hw/i40iw/i40iw_cm.c memcpy(child_listen_node->loc_addr, ipaddr, ipv4 ? 4 : 16); ipv4 4328 drivers/infiniband/hw/i40iw/i40iw_cm.c (!memcmp(cm_node->loc_addr, ipaddr, nfo->ipv4 ? 4 : 16) || ipv4 4329 drivers/infiniband/hw/i40iw/i40iw_cm.c !memcmp(cm_node->rem_addr, ipaddr, nfo->ipv4 ? 4 : 16)))) { ipv4 4339 drivers/infiniband/hw/i40iw/i40iw_cm.c (!memcmp(cm_node->loc_addr, ipaddr, nfo->ipv4 ? 4 : 16) || ipv4 4340 drivers/infiniband/hw/i40iw/i40iw_cm.c !memcmp(cm_node->rem_addr, ipaddr, nfo->ipv4 ? 4 : 16)))) { ipv4 4366 drivers/infiniband/hw/i40iw/i40iw_cm.c u32 *ipaddr, bool ipv4, bool ifup) ipv4 4379 drivers/infiniband/hw/i40iw/i40iw_cm.c nfo.ipv4 = ipv4; ipv4 4385 drivers/infiniband/hw/i40iw/i40iw_cm.c (!memcmp(listen_node->loc_addr, ipaddr, ipv4 ? 4 : 16) || ipv4 4386 drivers/infiniband/hw/i40iw/i40iw_cm.c !memcmp(listen_node->loc_addr, ip_zero, ipv4 ? 4 : 16))) { ipv4 4395 drivers/infiniband/hw/i40iw/i40iw_cm.c ipaddr, ipv4, ifup); ipv4 4397 drivers/infiniband/hw/i40iw/i40iw_cm.c ipv4 ? 4 : 16)) { ipv4 304 drivers/infiniband/hw/i40iw/i40iw_cm.h bool ipv4; ipv4 349 drivers/infiniband/hw/i40iw/i40iw_cm.h bool ipv4; ipv4 376 drivers/infiniband/hw/i40iw/i40iw_cm.h bool ipv4; ipv4 452 drivers/infiniband/hw/i40iw/i40iw_cm.h bool ipv4, ipv4 457 drivers/infiniband/hw/i40iw/i40iw_cm.h u32 *ipaddr, bool ipv4, bool ifup); ipv4 2838 drivers/infiniband/hw/i40iw/i40iw_ctrl.c qw0 |= LS_64(tcp->ipv4, I40IWQPC_IPV4) | ipv4 528 drivers/infiniband/hw/i40iw/i40iw_hw.c bool ipv4, ipv4 536 drivers/infiniband/hw/i40iw/i40iw_hw.c arp_index = i40iw_arp_table(iwdev, ip_addr, ipv4, mac_addr, action); ipv4 619 drivers/infiniband/hw/i40iw/i40iw_hw.c info->ipv4_valid = cminfo->ipv4; ipv4 382 drivers/infiniband/hw/i40iw/i40iw_puda.c if (info->ipv4) { ipv4 456 drivers/infiniband/hw/i40iw/i40iw_puda.c info.ipv4 = buf->ipv4; ipv4 1042 drivers/infiniband/hw/i40iw/i40iw_puda.c txbuf->ipv4 = buf->ipv4; ipv4 1404 drivers/infiniband/hw/i40iw/i40iw_puda.c pfpdu->max_fpdu_data = (buf->ipv4) ? (ieq->vsi->mtu - I40IW_MTU_TO_MSS_IPV4) : ipv4 74 drivers/infiniband/hw/i40iw/i40iw_puda.h bool ipv4; ipv4 95 drivers/infiniband/hw/i40iw/i40iw_puda.h bool ipv4; ipv4 690 drivers/infiniband/hw/i40iw/i40iw_type.h bool ipv4; ipv4 63 drivers/infiniband/hw/i40iw/i40iw_utils.c bool ipv4, ipv4 71 drivers/infiniband/hw/i40iw/i40iw_utils.c if (ipv4) { ipv4 1442 drivers/infiniband/hw/i40iw/i40iw_utils.c iphlen = (buf->ipv4) ? 20 : 40; ipv4 1473 drivers/infiniband/hw/i40iw/i40iw_utils.c buf->ipv4 = (info->l3proto) ? false : true; ipv4 1480 drivers/infiniband/hw/i40iw/i40iw_utils.c if (buf->ipv4) { ipv4 1382 drivers/infiniband/hw/mlx4/main.c if (FIELDS_NOT_SUPPORTED(ib_spec->ipv4.mask, LAST_IPV4_FIELD)) ipv4 1386 drivers/infiniband/hw/mlx4/main.c mlx4_spec->ipv4.src_ip = ib_spec->ipv4.val.src_ip; ipv4 1387 drivers/infiniband/hw/mlx4/main.c mlx4_spec->ipv4.src_ip_msk = ib_spec->ipv4.mask.src_ip; ipv4 1388 drivers/infiniband/hw/mlx4/main.c mlx4_spec->ipv4.dst_ip = ib_spec->ipv4.val.dst_ip; ipv4 1389 drivers/infiniband/hw/mlx4/main.c mlx4_spec->ipv4.dst_ip_msk = ib_spec->ipv4.mask.dst_ip; ipv4 2765 drivers/infiniband/hw/mlx5/main.c if (FIELDS_NOT_SUPPORTED(ib_spec->ipv4.mask, LAST_IPV4_FIELD)) ipv4 2781 drivers/infiniband/hw/mlx5/main.c src_ipv4_src_ipv6.ipv4_layout.ipv4), ipv4 2782 drivers/infiniband/hw/mlx5/main.c &ib_spec->ipv4.mask.src_ip, ipv4 2783 drivers/infiniband/hw/mlx5/main.c sizeof(ib_spec->ipv4.mask.src_ip)); ipv4 2785 drivers/infiniband/hw/mlx5/main.c src_ipv4_src_ipv6.ipv4_layout.ipv4), ipv4 2786 drivers/infiniband/hw/mlx5/main.c &ib_spec->ipv4.val.src_ip, ipv4 2787 drivers/infiniband/hw/mlx5/main.c sizeof(ib_spec->ipv4.val.src_ip)); ipv4 2789 drivers/infiniband/hw/mlx5/main.c dst_ipv4_dst_ipv6.ipv4_layout.ipv4), ipv4 2790 drivers/infiniband/hw/mlx5/main.c &ib_spec->ipv4.mask.dst_ip, ipv4 2791 drivers/infiniband/hw/mlx5/main.c sizeof(ib_spec->ipv4.mask.dst_ip)); ipv4 2793 drivers/infiniband/hw/mlx5/main.c dst_ipv4_dst_ipv6.ipv4_layout.ipv4), ipv4 2794 drivers/infiniband/hw/mlx5/main.c &ib_spec->ipv4.val.dst_ip, ipv4 2795 drivers/infiniband/hw/mlx5/main.c sizeof(ib_spec->ipv4.val.dst_ip)); ipv4 2798 drivers/infiniband/hw/mlx5/main.c ib_spec->ipv4.mask.tos, ib_spec->ipv4.val.tos); ipv4 2801 drivers/infiniband/hw/mlx5/main.c ib_spec->ipv4.mask.proto, ipv4 2802 drivers/infiniband/hw/mlx5/main.c ib_spec->ipv4.val.proto)) ipv4 4058 drivers/infiniband/hw/mlx5/main.c void *ipv4, *ipv4_mask; ipv4 4079 drivers/infiniband/hw/mlx5/main.c ipv4 = MLX5_ADDR_OF(fte_match_set_lyr_2_4, match_v_set_lyr_2_4, ipv4 4080 drivers/infiniband/hw/mlx5/main.c dst_ipv4_dst_ipv6.ipv4_layout.ipv4); ipv4 4083 drivers/infiniband/hw/mlx5/main.c dst_ipv4_dst_ipv6.ipv4_layout.ipv4); ipv4 4085 drivers/infiniband/hw/mlx5/main.c if (ipv4_is_multicast(*(__be32 *)(ipv4)) && ipv4 83 drivers/infiniband/hw/ocrdma/ocrdma_ah.c struct iphdr ipv4; ipv4 128 drivers/infiniband/hw/ocrdma/ocrdma_ah.c *((__be16 *)&ipv4) = htons((4 << 12) | (5 << 8) | ipv4 130 drivers/infiniband/hw/ocrdma/ocrdma_ah.c ipv4.id = cpu_to_be16(pdid); ipv4 131 drivers/infiniband/hw/ocrdma/ocrdma_ah.c ipv4.frag_off = htons(IP_DF); ipv4 132 drivers/infiniband/hw/ocrdma/ocrdma_ah.c ipv4.tot_len = htons(0); ipv4 133 drivers/infiniband/hw/ocrdma/ocrdma_ah.c ipv4.ttl = ib_grh->hop_limit; ipv4 134 drivers/infiniband/hw/ocrdma/ocrdma_ah.c ipv4.protocol = nxthdr; ipv4 136 drivers/infiniband/hw/ocrdma/ocrdma_ah.c ipv4.saddr = sgid_addr._sockaddr_in.sin_addr.s_addr; ipv4 138 drivers/infiniband/hw/ocrdma/ocrdma_ah.c ipv4.daddr = dgid_addr._sockaddr_in.sin_addr.s_addr; ipv4 139 drivers/infiniband/hw/ocrdma/ocrdma_ah.c memcpy((u8 *)ah->av + eth_sz, &ipv4, sizeof(struct iphdr)); ipv4 166 drivers/infiniband/hw/usnic/usnic_fwd.c if (!(filter->u.ipv4.flags & FILTER_FIELD_5TUP_DST_AD)) ipv4 168 drivers/infiniband/hw/usnic/usnic_fwd.c if (!(filter->u.ipv4.flags & FILTER_FIELD_5TUP_DST_PT)) ipv4 172 drivers/infiniband/hw/usnic/usnic_fwd.c else if (filter->u.ipv4.dst_port == 0) ipv4 174 drivers/infiniband/hw/usnic/usnic_fwd.c else if (ntohl(ufdev->inaddr) != filter->u.ipv4.dst_addr) ipv4 115 drivers/infiniband/hw/usnic/usnic_fwd.h filter->u.ipv4.flags = FILTER_FIELD_5TUP_PROTO; ipv4 116 drivers/infiniband/hw/usnic/usnic_fwd.h filter->u.ipv4.protocol = PROTO_UDP; ipv4 119 drivers/infiniband/hw/usnic/usnic_fwd.h filter->u.ipv4.flags |= FILTER_FIELD_5TUP_DST_AD; ipv4 120 drivers/infiniband/hw/usnic/usnic_fwd.h filter->u.ipv4.dst_addr = daddr; ipv4 124 drivers/infiniband/hw/usnic/usnic_fwd.h filter->u.ipv4.flags |= FILTER_FIELD_5TUP_DST_PT; ipv4 125 drivers/infiniband/hw/usnic/usnic_fwd.h filter->u.ipv4.dst_port = dport; ipv4 342 drivers/net/dsa/bcm_sf2_cfp.c struct flow_match_ipv4_addrs ipv4; ipv4 378 drivers/net/dsa/bcm_sf2_cfp.c flow_rule_match_ipv4_addrs(flow->rule, &ipv4); ipv4 434 drivers/net/dsa/bcm_sf2_cfp.c bcm_sf2_cfp_slice_ipv4(priv, ipv4.key, ports.key, slice_num, false); ipv4 435 drivers/net/dsa/bcm_sf2_cfp.c bcm_sf2_cfp_slice_ipv4(priv, ipv4.mask, ports.mask, SLICE_NUM_MASK, true); ipv4 232 drivers/net/ethernet/broadcom/bnxt/bnxt_tc.c flow->l3_key.ipv4.daddr.s_addr = match.key->dst; ipv4 233 drivers/net/ethernet/broadcom/bnxt/bnxt_tc.c flow->l3_mask.ipv4.daddr.s_addr = match.mask->dst; ipv4 234 drivers/net/ethernet/broadcom/bnxt/bnxt_tc.c flow->l3_key.ipv4.saddr.s_addr = match.key->src; ipv4 235 drivers/net/ethernet/broadcom/bnxt/bnxt_tc.c flow->l3_mask.ipv4.saddr.s_addr = match.mask->src; ipv4 274 drivers/net/ethernet/broadcom/bnxt/bnxt_tc.c flow->tun_key.u.ipv4.dst = match.key->dst; ipv4 275 drivers/net/ethernet/broadcom/bnxt/bnxt_tc.c flow->tun_mask.u.ipv4.dst = match.mask->dst; ipv4 276 drivers/net/ethernet/broadcom/bnxt/bnxt_tc.c flow->tun_key.u.ipv4.src = match.key->src; ipv4 277 drivers/net/ethernet/broadcom/bnxt/bnxt_tc.c flow->tun_mask.u.ipv4.src = match.mask->src; ipv4 438 drivers/net/ethernet/broadcom/bnxt/bnxt_tc.c req.ip_dst[0] = l3_key->ipv4.daddr.s_addr; ipv4 440 drivers/net/ethernet/broadcom/bnxt/bnxt_tc.c inet_mask_len(l3_mask->ipv4.daddr.s_addr); ipv4 441 drivers/net/ethernet/broadcom/bnxt/bnxt_tc.c req.ip_src[0] = l3_key->ipv4.saddr.s_addr; ipv4 443 drivers/net/ethernet/broadcom/bnxt/bnxt_tc.c inet_mask_len(l3_mask->ipv4.saddr.s_addr); ipv4 562 drivers/net/ethernet/broadcom/bnxt/bnxt_tc.c req.dst_ipaddr[0] = tun_key->u.ipv4.dst; ipv4 563 drivers/net/ethernet/broadcom/bnxt/bnxt_tc.c req.src_ipaddr[0] = tun_key->u.ipv4.src; ipv4 635 drivers/net/ethernet/broadcom/bnxt/bnxt_tc.c encap_ipv4->dest_ip_addr = encap_key->u.ipv4.dst; ipv4 636 drivers/net/ethernet/broadcom/bnxt/bnxt_tc.c encap_ipv4->src_ip_addr = encap_key->u.ipv4.src; ipv4 965 drivers/net/ethernet/broadcom/bnxt/bnxt_tc.c flow.daddr = tun_key->u.ipv4.dst; ipv4 1010 drivers/net/ethernet/broadcom/bnxt/bnxt_tc.c tun_key->u.ipv4.src = flow.saddr; ipv4 1060 drivers/net/ethernet/broadcom/bnxt/bnxt_tc.c tun_key.u.ipv4.dst = flow->tun_key.u.ipv4.src; ipv4 36 drivers/net/ethernet/broadcom/bnxt/bnxt_tc.h } ipv4; ipv4 556 drivers/net/ethernet/chelsio/cxgb4/t4fw_api.h } ipv4; ipv4 111 drivers/net/ethernet/cisco/enic/cq_enet_desc.h u8 *ipv6, u8 *ipv4, u8 *ipv4_fragment, u8 *fcs_ok) ipv4 179 drivers/net/ethernet/cisco/enic/cq_enet_desc.h *ipv4 = (desc->flags & CQ_ENET_RQ_DESC_FLAGS_IPV4) ? 1 : 0; ipv4 28 drivers/net/ethernet/cisco/enic/enic_clsf.c data.u.ipv4.protocol = PROTO_TCP; ipv4 31 drivers/net/ethernet/cisco/enic/enic_clsf.c data.u.ipv4.protocol = PROTO_UDP; ipv4 38 drivers/net/ethernet/cisco/enic/enic_clsf.c data.u.ipv4.src_addr = ntohl(keys->addrs.v4addrs.src); ipv4 39 drivers/net/ethernet/cisco/enic/enic_clsf.c data.u.ipv4.dst_addr = ntohl(keys->addrs.v4addrs.dst); ipv4 40 drivers/net/ethernet/cisco/enic/enic_clsf.c data.u.ipv4.src_port = ntohs(keys->ports.src); ipv4 41 drivers/net/ethernet/cisco/enic/enic_clsf.c data.u.ipv4.dst_port = ntohs(keys->ports.dst); ipv4 42 drivers/net/ethernet/cisco/enic/enic_clsf.c data.u.ipv4.flags = FILTER_FIELDS_IPV4_5TUPLE; ipv4 1340 drivers/net/ethernet/cisco/enic/enic_main.c u8 ipv6, ipv4, ipv4_fragment, fcs_ok, rss_type, csum_not_calc; ipv4 1358 drivers/net/ethernet/cisco/enic/enic_main.c &ipv4_csum_ok, &ipv6, &ipv4, &ipv4_fragment, ipv4 637 drivers/net/ethernet/cisco/enic/vnic_devcmd.h struct filter_ipv4_5tuple ipv4; ipv4 39 drivers/net/ethernet/huawei/hinic/hinic_dev.h u8 ipv4; ipv4 278 drivers/net/ethernet/huawei/hinic/hinic_ethtool.c rss_type->ipv4 = 1; ipv4 311 drivers/net/ethernet/huawei/hinic/hinic_main.c nic_dev->rss_type.ipv4 = 1; ipv4 704 drivers/net/ethernet/huawei/hinic/hinic_port.c HINIC_RSS_TYPE_SET(rss_type.ipv4, IPV4) | ipv4 767 drivers/net/ethernet/huawei/hinic/hinic_port.c rss_type->ipv4 = HINIC_RSS_TYPE_GET(ctx_tbl.context, IPV4); ipv4 806 drivers/net/ethernet/intel/fm10k/fm10k_main.c struct iphdr *ipv4; ipv4 838 drivers/net/ethernet/intel/fm10k/fm10k_main.c l4_hdr = network_hdr.ipv4->protocol; ipv4 1638 drivers/net/ethernet/intel/i40e/i40e_txrx.c bool ipv4, ipv6; ipv4 1666 drivers/net/ethernet/intel/i40e/i40e_txrx.c ipv4 = (decoded.outer_ip == I40E_RX_PTYPE_OUTER_IP) && ipv4 1671 drivers/net/ethernet/intel/i40e/i40e_txrx.c if (ipv4 && ipv4 2674 drivers/net/ethernet/intel/i40e/i40e_txrx.c struct iphdr *ipv4; ipv4 2708 drivers/net/ethernet/intel/i40e/i40e_txrx.c l4_proto = hdr.ipv4->protocol; ipv4 949 drivers/net/ethernet/intel/iavf/iavf_txrx.c bool ipv4, ipv6; ipv4 977 drivers/net/ethernet/intel/iavf/iavf_txrx.c ipv4 = (decoded.outer_ip == IAVF_RX_PTYPE_OUTER_IP) && ipv4 982 drivers/net/ethernet/intel/iavf/iavf_txrx.c if (ipv4 && ipv4 896 drivers/net/ethernet/intel/ice/ice_txrx.c bool ipv4, ipv6; ipv4 918 drivers/net/ethernet/intel/ice/ice_txrx.c ipv4 = (decoded.outer_ip == ICE_RX_PTYPE_OUTER_IP) && ipv4 923 drivers/net/ethernet/intel/ice/ice_txrx.c if (ipv4 && (rx_error & (BIT(ICE_RX_FLEX_DESC_STATUS0_XSUM_IPE_S) | ipv4 8362 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c struct iphdr *ipv4; ipv4 8393 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c hdr.ipv4->protocol == IPPROTO_UDP) { ipv4 8417 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c switch (hdr.ipv4->version) { ipv4 8421 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c l4_proto = hdr.ipv4->protocol; ipv4 8473 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c switch (hdr.ipv4->version) { ipv4 8476 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c common.ip ^= hdr.ipv4->saddr ^ hdr.ipv4->daddr; ipv4 1460 drivers/net/ethernet/mellanox/mlx4/en_ethtool.c spec_l3->ipv4.src_ip = cmd->fs.h_u.usr_ip4_spec.ip4src; ipv4 1462 drivers/net/ethernet/mellanox/mlx4/en_ethtool.c spec_l3->ipv4.src_ip_msk = EN_ETHTOOL_WORD_MASK; ipv4 1463 drivers/net/ethernet/mellanox/mlx4/en_ethtool.c spec_l3->ipv4.dst_ip = cmd->fs.h_u.usr_ip4_spec.ip4dst; ipv4 1465 drivers/net/ethernet/mellanox/mlx4/en_ethtool.c spec_l3->ipv4.dst_ip_msk = EN_ETHTOOL_WORD_MASK; ipv4 1504 drivers/net/ethernet/mellanox/mlx4/en_ethtool.c spec_l3->ipv4.src_ip = cmd->fs.h_u.tcp_ip4_spec.ip4src; ipv4 1505 drivers/net/ethernet/mellanox/mlx4/en_ethtool.c spec_l3->ipv4.dst_ip = cmd->fs.h_u.tcp_ip4_spec.ip4dst; ipv4 1516 drivers/net/ethernet/mellanox/mlx4/en_ethtool.c spec_l3->ipv4.src_ip = cmd->fs.h_u.udp_ip4_spec.ip4src; ipv4 1517 drivers/net/ethernet/mellanox/mlx4/en_ethtool.c spec_l3->ipv4.dst_ip = cmd->fs.h_u.udp_ip4_spec.ip4dst; ipv4 1523 drivers/net/ethernet/mellanox/mlx4/en_ethtool.c spec_l3->ipv4.src_ip_msk = EN_ETHTOOL_WORD_MASK; ipv4 1525 drivers/net/ethernet/mellanox/mlx4/en_ethtool.c spec_l3->ipv4.dst_ip_msk = EN_ETHTOOL_WORD_MASK; ipv4 217 drivers/net/ethernet/mellanox/mlx4/en_netdev.c .ipv4 = { ipv4 872 drivers/net/ethernet/mellanox/mlx4/mcg.c rule_hw->ipv4.src_ip = spec->ipv4.src_ip; ipv4 873 drivers/net/ethernet/mellanox/mlx4/mcg.c rule_hw->ipv4.src_ip_msk = spec->ipv4.src_ip_msk; ipv4 874 drivers/net/ethernet/mellanox/mlx4/mcg.c rule_hw->ipv4.dst_ip = spec->ipv4.dst_ip; ipv4 875 drivers/net/ethernet/mellanox/mlx4/mcg.c rule_hw->ipv4.dst_ip_msk = spec->ipv4.dst_ip_msk; ipv4 929 drivers/net/ethernet/mellanox/mlx4/mcg.c if (cur->ipv4.src_ip) ipv4 932 drivers/net/ethernet/mellanox/mlx4/mcg.c &cur->ipv4.src_ip); ipv4 933 drivers/net/ethernet/mellanox/mlx4/mcg.c if (cur->ipv4.dst_ip) ipv4 936 drivers/net/ethernet/mellanox/mlx4/mcg.c &cur->ipv4.dst_ip); ipv4 89 drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.c src_ipv4_src_ipv6.ipv4_layout.ipv4); ipv4 91 drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.c dst_ipv4_dst_ipv6.ipv4_layout.ipv4); ipv4 225 drivers/net/ethernet/mellanox/mlx5/core/en/tc_tun.c fl4.daddr = tun_key->u.ipv4.dst; ipv4 226 drivers/net/ethernet/mellanox/mlx5/core/en/tc_tun.c fl4.saddr = tun_key->u.ipv4.src; ipv4 44 drivers/net/ethernet/mellanox/mlx5/core/en_accel/tls.c memcpy(MLX5_ADDR_OF(tls_flow, flow, dst_ipv4_dst_ipv6.ipv4_layout.ipv4), ipv4 45 drivers/net/ethernet/mellanox/mlx5/core/en_accel/tls.c &inet->inet_daddr, MLX5_FLD_SZ_BYTES(ipv4_layout, ipv4)); ipv4 46 drivers/net/ethernet/mellanox/mlx5/core/en_accel/tls.c memcpy(MLX5_ADDR_OF(tls_flow, flow, src_ipv4_src_ipv6.ipv4_layout.ipv4), ipv4 47 drivers/net/ethernet/mellanox/mlx5/core/en_accel/tls.c &inet->inet_rcv_saddr, MLX5_FLD_SZ_BYTES(ipv4_layout, ipv4)); ipv4 261 drivers/net/ethernet/mellanox/mlx5/core/en_arfs.c src_ipv4_src_ipv6.ipv4_layout.ipv4); ipv4 263 drivers/net/ethernet/mellanox/mlx5/core/en_arfs.c dst_ipv4_dst_ipv6.ipv4_layout.ipv4); ipv4 506 drivers/net/ethernet/mellanox/mlx5/core/en_arfs.c outer_headers.src_ipv4_src_ipv6.ipv4_layout.ipv4), ipv4 510 drivers/net/ethernet/mellanox/mlx5/core/en_arfs.c outer_headers.dst_ipv4_dst_ipv6.ipv4_layout.ipv4), ipv4 514 drivers/net/ethernet/mellanox/mlx5/core/en_arfs.c outer_headers.src_ipv4_src_ipv6.ipv4_layout.ipv4); ipv4 516 drivers/net/ethernet/mellanox/mlx5/core/en_arfs.c outer_headers.dst_ipv4_dst_ipv6.ipv4_layout.ipv4); ipv4 134 drivers/net/ethernet/mellanox/mlx5/core/en_fs_ethtool.c memcpy(MLX5E_FTE_ADDR_OF(headers_v, src_ipv4_src_ipv6.ipv4_layout.ipv4), ipv4 136 drivers/net/ethernet/mellanox/mlx5/core/en_fs_ethtool.c memcpy(MLX5E_FTE_ADDR_OF(headers_c, src_ipv4_src_ipv6.ipv4_layout.ipv4), ipv4 140 drivers/net/ethernet/mellanox/mlx5/core/en_fs_ethtool.c memcpy(MLX5E_FTE_ADDR_OF(headers_v, dst_ipv4_dst_ipv6.ipv4_layout.ipv4), ipv4 142 drivers/net/ethernet/mellanox/mlx5/core/en_fs_ethtool.c memcpy(MLX5E_FTE_ADDR_OF(headers_c, dst_ipv4_dst_ipv6.ipv4_layout.ipv4), ipv4 744 drivers/net/ethernet/mellanox/mlx5/core/en_rx.c struct iphdr *ipv4 = ip_p; ipv4 749 drivers/net/ethernet/mellanox/mlx5/core/en_rx.c ipv4->ttl = cqe->lro_min_ttl; ipv4 750 drivers/net/ethernet/mellanox/mlx5/core/en_rx.c ipv4->tot_len = cpu_to_be16(tot_len); ipv4 751 drivers/net/ethernet/mellanox/mlx5/core/en_rx.c ipv4->check = 0; ipv4 752 drivers/net/ethernet/mellanox/mlx5/core/en_rx.c ipv4->check = ip_fast_csum((unsigned char *)ipv4, ipv4 753 drivers/net/ethernet/mellanox/mlx5/core/en_rx.c ipv4->ihl); ipv4 759 drivers/net/ethernet/mellanox/mlx5/core/en_rx.c tcp->check = csum_tcpudp_magic(ipv4->saddr, ipv4->daddr, ipv4 1686 drivers/net/ethernet/mellanox/mlx5/core/en_tc.c src_ipv4_src_ipv6.ipv4_layout.ipv4, ipv4 1689 drivers/net/ethernet/mellanox/mlx5/core/en_tc.c src_ipv4_src_ipv6.ipv4_layout.ipv4, ipv4 1693 drivers/net/ethernet/mellanox/mlx5/core/en_tc.c dst_ipv4_dst_ipv6.ipv4_layout.ipv4, ipv4 1696 drivers/net/ethernet/mellanox/mlx5/core/en_tc.c dst_ipv4_dst_ipv6.ipv4_layout.ipv4, ipv4 2024 drivers/net/ethernet/mellanox/mlx5/core/en_tc.c src_ipv4_src_ipv6.ipv4_layout.ipv4), ipv4 2027 drivers/net/ethernet/mellanox/mlx5/core/en_tc.c src_ipv4_src_ipv6.ipv4_layout.ipv4), ipv4 2030 drivers/net/ethernet/mellanox/mlx5/core/en_tc.c dst_ipv4_dst_ipv6.ipv4_layout.ipv4), ipv4 2033 drivers/net/ethernet/mellanox/mlx5/core/en_tc.c dst_ipv4_dst_ipv6.ipv4_layout.ipv4), ipv4 2299 drivers/net/ethernet/mellanox/mlx5/core/en_tc.c OFFLOAD(SIPV4, 4, ip4.saddr, 0, src_ipv4_src_ipv6.ipv4_layout.ipv4), ipv4 2300 drivers/net/ethernet/mellanox/mlx5/core/en_tc.c OFFLOAD(DIPV4, 4, ip4.daddr, 0, dst_ipv4_dst_ipv6.ipv4_layout.ipv4), ipv4 567 drivers/net/ethernet/mellanox/mlx5/core/fpga/ipsec.c src_ipv4_src_ipv6.ipv4_layout.ipv4); ipv4 570 drivers/net/ethernet/mellanox/mlx5/core/fpga/ipsec.c dst_ipv4_dst_ipv6.ipv4_layout.ipv4); ipv4 573 drivers/net/ethernet/mellanox/mlx5/core/fpga/ipsec.c ipv4)) || ipv4 575 drivers/net/ethernet/mellanox/mlx5/core/fpga/ipsec.c ipv4))) ipv4 790 drivers/net/ethernet/mellanox/mlx5/core/fpga/ipsec.c src_ipv4_src_ipv6.ipv4_layout.ipv4), ipv4 795 drivers/net/ethernet/mellanox/mlx5/core/fpga/ipsec.c dst_ipv4_dst_ipv6.ipv4_layout.ipv4), ipv4 5729 drivers/net/ethernet/mellanox/mlxsw/reg.h MLXSW_ITEM32(reg, ritr, ipv4, 0x00, 29, 1); ipv4 7970 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c bool only_l3 = !init_net.ipv4.sysctl_fib_multipath_hash_policy; ipv4 8047 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c bool usp = init_net.ipv4.sysctl_ip_fwd_update_priority; ipv4 436 drivers/net/ethernet/mscc/ocelot_ace.c struct ocelot_ace_frame_ipv4 *ipv4 = NULL; ipv4 444 drivers/net/ethernet/mscc/ocelot_ace.c ipv4 = &ace->frame.ipv4; ipv4 445 drivers/net/ethernet/mscc/ocelot_ace.c ttl = ipv4->ttl; ipv4 446 drivers/net/ethernet/mscc/ocelot_ace.c fragment = ipv4->fragment; ipv4 447 drivers/net/ethernet/mscc/ocelot_ace.c options = ipv4->options; ipv4 448 drivers/net/ethernet/mscc/ocelot_ace.c proto = ipv4->proto; ipv4 449 drivers/net/ethernet/mscc/ocelot_ace.c ds = ipv4->ds; ipv4 450 drivers/net/ethernet/mscc/ocelot_ace.c ip_data = &ipv4->data; ipv4 451 drivers/net/ethernet/mscc/ocelot_ace.c sip = ipv4->sip; ipv4 452 drivers/net/ethernet/mscc/ocelot_ace.c dip = ipv4->dip; ipv4 453 drivers/net/ethernet/mscc/ocelot_ace.c sport = &ipv4->sport; ipv4 454 drivers/net/ethernet/mscc/ocelot_ace.c dport = &ipv4->dport; ipv4 455 drivers/net/ethernet/mscc/ocelot_ace.c tcp_fin = ipv4->tcp_fin; ipv4 456 drivers/net/ethernet/mscc/ocelot_ace.c tcp_syn = ipv4->tcp_syn; ipv4 457 drivers/net/ethernet/mscc/ocelot_ace.c tcp_rst = ipv4->tcp_rst; ipv4 458 drivers/net/ethernet/mscc/ocelot_ace.c tcp_psh = ipv4->tcp_psh; ipv4 459 drivers/net/ethernet/mscc/ocelot_ace.c tcp_ack = ipv4->tcp_ack; ipv4 460 drivers/net/ethernet/mscc/ocelot_ace.c tcp_urg = ipv4->tcp_urg; ipv4 461 drivers/net/ethernet/mscc/ocelot_ace.c sip_eq_dip = ipv4->sip_eq_dip; ipv4 462 drivers/net/ethernet/mscc/ocelot_ace.c sport_eq_dport = ipv4->sport_eq_dport; ipv4 463 drivers/net/ethernet/mscc/ocelot_ace.c seq_zero = ipv4->seq_zero; ipv4 497 drivers/net/ethernet/mscc/ocelot_ace.c ipv4 ? OCELOT_VCAP_BIT_1 : OCELOT_VCAP_BIT_0); ipv4 209 drivers/net/ethernet/mscc/ocelot_ace.h struct ocelot_ace_frame_ipv4 ipv4; ipv4 105 drivers/net/ethernet/mscc/ocelot_flower.c ocelot_rule->frame.ipv4.proto.value[0] = ipv4 107 drivers/net/ethernet/mscc/ocelot_flower.c ocelot_rule->frame.ipv4.proto.mask[0] = ipv4 125 drivers/net/ethernet/mscc/ocelot_flower.c tmp = &ocelot_rule->frame.ipv4.sip.value.addr[0]; ipv4 128 drivers/net/ethernet/mscc/ocelot_flower.c tmp = &ocelot_rule->frame.ipv4.sip.mask.addr[0]; ipv4 131 drivers/net/ethernet/mscc/ocelot_flower.c tmp = &ocelot_rule->frame.ipv4.dip.value.addr[0]; ipv4 134 drivers/net/ethernet/mscc/ocelot_flower.c tmp = &ocelot_rule->frame.ipv4.dip.mask.addr[0]; ipv4 147 drivers/net/ethernet/mscc/ocelot_flower.c ocelot_rule->frame.ipv4.sport.value = ntohs(match.key->src); ipv4 148 drivers/net/ethernet/mscc/ocelot_flower.c ocelot_rule->frame.ipv4.sport.mask = ntohs(match.mask->src); ipv4 149 drivers/net/ethernet/mscc/ocelot_flower.c ocelot_rule->frame.ipv4.dport.value = ntohs(match.key->dst); ipv4 150 drivers/net/ethernet/mscc/ocelot_flower.c ocelot_rule->frame.ipv4.dport.mask = ntohs(match.mask->dst); ipv4 443 drivers/net/ethernet/netronome/nfp/flower/action.c flow.daddr = ip_tun->key.u.ipv4.dst; ipv4 451 drivers/net/ethernet/netronome/nfp/flower/action.c set_tun->ttl = net->ipv4.sysctl_ip_default_ttl; ipv4 470 drivers/net/ethernet/netronome/nfp/flower/action.c pre_tun->ipv4_dst = ip_tun->key.u.ipv4.dst; ipv4 412 drivers/net/ethernet/netronome/nfp/flower/cmsg.h struct nfp_flower_tun_ipv4 ipv4; ipv4 439 drivers/net/ethernet/netronome/nfp/flower/cmsg.h struct nfp_flower_tun_ipv4 ipv4; ipv4 397 drivers/net/ethernet/netronome/nfp/flower/main.h void nfp_tunnel_del_ipv4_off(struct nfp_app *app, __be32 ipv4); ipv4 398 drivers/net/ethernet/netronome/nfp/flower/main.h void nfp_tunnel_add_ipv4_off(struct nfp_app *app, __be32 ipv4); ipv4 344 drivers/net/ethernet/netronome/nfp/flower/match.c nfp_flower_compile_tun_ipv4_addrs(&ext->ipv4, &msk->ipv4, flow); ipv4 369 drivers/net/ethernet/netronome/nfp/flower/match.c nfp_flower_compile_tun_ipv4_addrs(&ext->ipv4, &msk->ipv4, flow); ipv4 461 drivers/net/ethernet/netronome/nfp/flower/match.c tun_dst = ((struct nfp_flower_ipv4_gre_tun *)ext)->ipv4.dst; ipv4 477 drivers/net/ethernet/netronome/nfp/flower/match.c tun_dst = ((struct nfp_flower_ipv4_udp_tun *)ext)->ipv4.dst; ipv4 76 drivers/net/ethernet/netronome/nfp/flower/offload.c struct nfp_flower_ipv4 ipv4; ipv4 551 drivers/net/ethernet/netronome/nfp/flower/offload.c memset(&merge->ipv4, 0xff, ipv4 564 drivers/net/ethernet/netronome/nfp/flower/offload.c merge->ipv4.ipv4_src |= ipv4_add->ipv4_src_mask; ipv4 565 drivers/net/ethernet/netronome/nfp/flower/offload.c merge->ipv4.ipv4_dst |= ipv4_add->ipv4_dst_mask; ipv4 569 drivers/net/ethernet/netronome/nfp/flower/offload.c merge->ipv4.ip_ext.ttl |= ipv4_ttl_tos->ipv4_ttl_mask; ipv4 570 drivers/net/ethernet/netronome/nfp/flower/offload.c merge->ipv4.ip_ext.tos |= ipv4_ttl_tos->ipv4_tos_mask; ipv4 655 drivers/net/ethernet/netronome/nfp/flower/offload.c memcpy(&merge->ipv4, mask, match_size); ipv4 51 drivers/net/ethernet/netronome/nfp/flower/tunnel_conf.c __be32 ipv4; ipv4 192 drivers/net/ethernet/netronome/nfp/flower/tunnel_conf.c ipv4_addr = payload->tun_info[i].ipv4; ipv4 452 drivers/net/ethernet/netronome/nfp/flower/tunnel_conf.c void nfp_tunnel_add_ipv4_off(struct nfp_app *app, __be32 ipv4) ipv4 461 drivers/net/ethernet/netronome/nfp/flower/tunnel_conf.c if (entry->ipv4_addr == ipv4) { ipv4 474 drivers/net/ethernet/netronome/nfp/flower/tunnel_conf.c entry->ipv4_addr = ipv4; ipv4 482 drivers/net/ethernet/netronome/nfp/flower/tunnel_conf.c void nfp_tunnel_del_ipv4_off(struct nfp_app *app, __be32 ipv4) ipv4 491 drivers/net/ethernet/netronome/nfp/flower/tunnel_conf.c if (entry->ipv4_addr == ipv4) { ipv4 4174 drivers/net/ethernet/qlogic/qed/qed_hsi.h bool ipv4, bool ipv6, enum gft_profile_type profile_type); ipv4 1233 drivers/net/ethernet/qlogic/qed/qed_init_fw_funcs.c bool ipv4, bool ipv6, enum gft_profile_type profile_type) ipv4 1237 drivers/net/ethernet/qlogic/qed/qed_init_fw_funcs.c if (!ipv6 && !ipv4) ipv4 1282 drivers/net/ethernet/qlogic/qed/qed_init_fw_funcs.c if (!(ipv4 && ipv6)) { ipv4 1284 drivers/net/ethernet/qlogic/qed/qed_init_fw_funcs.c if (ipv4) ipv4 2008 drivers/net/ethernet/qlogic/qed/qed_l2.c p_cfg_params->ipv4, ipv4 2016 drivers/net/ethernet/qlogic/qed/qed_l2.c p_cfg_params->ipv4 ? "Enable" : "Disable", ipv4 2809 drivers/net/ethernet/qlogic/qed/qed_l2.c arfs_config_params.ipv4 = true; ipv4 192 drivers/net/ethernet/qlogic/qed/qed_l2.h bool ipv4; ipv4 1004 drivers/net/ethernet/qlogic/qlcnic/qlcnic.h __be32 ipv4; ipv4 956 drivers/net/ethernet/qlogic/qlcnic/qlcnic_hw.c ipa->ipv4 = ip; ipv4 136 drivers/net/geneve.c addr == node->geneve->info.key.u.ipv4.dst) ipv4 692 drivers/net/geneve.c bool ipv4, ipv6; ipv4 696 drivers/net/geneve.c ipv4 = !ipv6 || metadata; ipv4 701 drivers/net/geneve.c ipv4 = false; ipv4 704 drivers/net/geneve.c if (ipv4) ipv4 790 drivers/net/geneve.c fl4->daddr = info->key.u.ipv4.dst; ipv4 791 drivers/net/geneve.c fl4->saddr = info->key.u.ipv4.src; ipv4 1047 drivers/net/geneve.c info->key.u.ipv4.src = fl4.saddr; ipv4 1252 drivers/net/geneve.c return a->key.u.ipv4.dst == b->key.u.ipv4.dst; ipv4 1347 drivers/net/geneve.c info->key.u.ipv4.dst = ipv4 1350 drivers/net/geneve.c if (ipv4_is_multicast(info->key.u.ipv4.dst)) { ipv4 1507 drivers/net/geneve.c struct flowi4 fl4 = { .daddr = info->key.u.ipv4.dst }; ipv4 1697 drivers/net/geneve.c info->key.u.ipv4.dst)) ipv4 36 drivers/net/netdevsim/fib.c struct nsim_per_fib_data ipv4; ipv4 49 drivers/net/netdevsim/fib.c entry = &fib_data->ipv4.fib; ipv4 52 drivers/net/netdevsim/fib.c entry = &fib_data->ipv4.rules; ipv4 76 drivers/net/netdevsim/fib.c entry = &fib_data->ipv4.fib; ipv4 79 drivers/net/netdevsim/fib.c entry = &fib_data->ipv4.rules; ipv4 131 drivers/net/netdevsim/fib.c err = nsim_fib_rule_account(&data->ipv4.rules, add, extack); ipv4 168 drivers/net/netdevsim/fib.c err = nsim_fib_account(&data->ipv4.fib, add, extack); ipv4 209 drivers/net/netdevsim/fib.c data->ipv4.fib.num = 0ULL; ipv4 210 drivers/net/netdevsim/fib.c data->ipv4.rules.num = 0ULL; ipv4 227 drivers/net/netdevsim/fib.c data->ipv4.fib.max = (u64)-1; ipv4 228 drivers/net/netdevsim/fib.c data->ipv4.rules.max = (u64)-1; ipv4 852 drivers/net/vmxnet3/vmxnet3_drv.c if (ctx->ipv4) { ipv4 938 drivers/net/vmxnet3/vmxnet3_drv.c if (ctx->ipv4) { ipv4 996 drivers/net/vmxnet3/vmxnet3_drv.c ctx.ipv4 = (vlan_get_protocol(skb) == cpu_to_be16(ETH_P_IP)); ipv4 1231 drivers/net/vmxnet3/vmxnet3_drv.c struct iphdr *ipv4; ipv4 1252 drivers/net/vmxnet3/vmxnet3_drv.c BUG_ON(hdr.ipv4->protocol != IPPROTO_TCP); ipv4 1253 drivers/net/vmxnet3/vmxnet3_drv.c hlen = hdr.ipv4->ihl << 2; ipv4 1254 drivers/net/vmxnet3/vmxnet3_drv.c hdr.ptr += hdr.ipv4->ihl << 2; ipv4 218 drivers/net/vmxnet3/vmxnet3_int.h bool ipv4; ipv4 2481 drivers/net/vxlan.c remote_ip.sin.sin_addr.s_addr = info->key.u.ipv4.dst; ipv4 2482 drivers/net/vxlan.c local_ip.sin.sin_addr.s_addr = info->key.u.ipv4.src; ipv4 2934 drivers/net/vxlan.c info->key.u.ipv4.dst, ipv4 2935 drivers/net/vxlan.c &info->key.u.ipv4.src, dport, sport, ipv4 3319 drivers/net/vxlan.c bool ipv4 = !ipv6 || metadata; ipv4 3328 drivers/net/vxlan.c ipv4 = false; ipv4 3331 drivers/net/vxlan.c if (ipv4) ipv4 828 drivers/net/wireless/intel/iwlwifi/mvm/tx.c bool ipv4 = (skb->protocol == htons(ETH_P_IP)); ipv4 830 drivers/net/wireless/intel/iwlwifi/mvm/tx.c u16 ip_base_id = ipv4 ? ntohs(ip_hdr(skb)->id) : 0; ipv4 857 drivers/net/wireless/intel/iwlwifi/mvm/tx.c if (ipv4) ipv4 866 drivers/net/wireless/intel/iwlwifi/mvm/tx.c if (ipv4) ipv4 283 drivers/s390/net/qeth_core.h } ipv4; ipv4 1987 drivers/s390/net/qeth_l3_main.c *((__be32 *) &hdr->hdr.l3.next_hop.ipv4.addr) = (rt) ? ipv4 100 drivers/scsi/fnic/cq_enet_desc.h u8 *ipv6, u8 *ipv4, u8 *ipv4_fragment, u8 *fcs_ok) ipv4 161 drivers/scsi/fnic/cq_enet_desc.h *ipv4 = (desc->flags & CQ_ENET_RQ_DESC_FLAGS_IPV4) ? 1 : 0; ipv4 845 drivers/scsi/fnic/fnic_fcs.c u8 ipv6, ipv4, ipv4_fragment, rss_type, csum_not_calc; ipv4 885 drivers/scsi/fnic/fnic_fcs.c &ipv4_csum_ok, &ipv6, &ipv4, ipv4 1996 drivers/scsi/qedi/qedi_main.c ip = ipv6_en ? initiator->ipv6.addr.byte : initiator->ipv4.addr.byte; ipv4 1999 drivers/scsi/qedi/qedi_main.c initiator->ipv4.subnet_mask.byte; ipv4 2001 drivers/scsi/qedi/qedi_main.c initiator->ipv4.gateway.byte; ipv4 122 drivers/scsi/qedi/qedi_nvm_iscsi_cfg.h struct nvm_iscsi_initiator_ipv4 ipv4; /* 0x0 */ ipv4 127 fs/cifs/cifs_debug.c struct sockaddr_in *ipv4 = (struct sockaddr_in *)&iface->sockaddr; ipv4 138 fs/cifs/cifs_debug.c seq_printf(m, "\t\tIPv4: %pI4\n", &ipv4->sin_addr); ipv4 55 include/linux/inetdevice.h IPV4_DEVCONF((*(net)->ipv4.devconf_all), attr) ipv4 183 include/linux/ipv6.h if (!net->ipv4.sysctl_tcp_l3mdev_accept && ipv4 1255 include/linux/mlx4/device.h struct mlx4_spec_ipv4 ipv4; ipv4 1362 include/linux/mlx4/device.h struct mlx4_net_trans_rule_hw_ipv4 ipv4; ipv4 38 include/linux/mlx5/mlx5_ifc_fpga.h u8 ipv4[0x20]; ipv4 204 include/net/inet_hashtables.h return inet_bound_dev_eq(!!net->ipv4.sysctl_tcp_l3mdev_accept, ipv4 110 include/net/inet_sock.h if (!sk->sk_mark && sock_net(sk)->ipv4.sysctl_tcp_fwmark_accept) ipv4 122 include/net/inet_sock.h if (!sk->sk_bound_dev_if && net->ipv4.sysctl_tcp_l3mdev_accept) ipv4 134 include/net/inet_sock.h if (!net->ipv4.sysctl_tcp_l3mdev_accept) ipv4 378 include/net/inet_sock.h return net->ipv4.sysctl_ip_nonlocal_bind || ipv4 344 include/net/ip.h if (!net->ipv4.sysctl_local_reserved_ports) ipv4 346 include/net/ip.h return test_bit(port, net->ipv4.sysctl_local_reserved_ports); ipv4 356 include/net/ip.h return net->ipv4.sysctl_ip_prot_sock; ipv4 383 include/net/ip.h ((net)->ipv4.sysctl_fwmark_reflect ? (mark) : 0) ipv4 443 include/net/ip.h if (net->ipv4.sysctl_ip_fwd_use_pmtu || ipv4 90 include/net/ip_fib.h __be32 ipv4; ipv4 119 include/net/ip_fib.h #define fib_nh_gw4 nh_common.nhc_gw.ipv4 ipv4 279 include/net/ip_fib.h &net->ipv4.fib_table_hash[TABLE_LOCAL_INDEX] : ipv4 280 include/net/ip_fib.h &net->ipv4.fib_table_hash[TABLE_MAIN_INDEX]; ipv4 351 include/net/ip_fib.h if (net->ipv4.fib_has_custom_rules) ipv4 358 include/net/ip_fib.h tb = rcu_dereference_rtnl(net->ipv4.fib_main); ipv4 365 include/net/ip_fib.h tb = rcu_dereference_rtnl(net->ipv4.fib_default); ipv4 389 include/net/ip_fib.h if (!net->ipv4.fib_rules_require_fldissect) ipv4 415 include/net/ip_fib.h return net->ipv4.fib_num_tclassid_users; ipv4 34 include/net/ip_tunnels.h #define IP_TUNNEL_KEY_IPV4_PAD offsetofend(struct ip_tunnel_key, u.ipv4.dst) ipv4 37 include/net/ip_tunnels.h FIELD_SIZEOF(struct ip_tunnel_key, u.ipv4)) ipv4 45 include/net/ip_tunnels.h } ipv4; ipv4 177 include/net/ip_tunnels.h key->u.ipv4.src = saddr; ipv4 178 include/net/ip_tunnels.h key->u.ipv4.dst = daddr; ipv4 122 include/net/net_namespace.h struct netns_ipv4 ipv4; ipv4 428 include/net/net_namespace.h return atomic_read(&net->ipv4.rt_genid); ipv4 440 include/net/net_namespace.h atomic_inc(&net->ipv4.rt_genid); ipv4 41 include/net/netfilter/nf_tables_offload.h struct flow_dissector_key_ipv4_addrs ipv4; ipv4 35 include/net/nexthop.h __be32 ipv4; ipv4 78 include/net/raw.h return inet_bound_dev_eq(!!net->ipv4.sysctl_raw_l3mdev_accept, ipv4 353 include/net/route.h hoplimit = net->ipv4.sysctl_ip_default_ttl; ipv4 928 include/net/tcp.h if (!net->ipv4.sysctl_tcp_l3mdev_accept && ipv4 1368 include/net/tcp.h if (!sock_net(sk)->ipv4.sysctl_tcp_slow_start_after_idle || tp->packets_out || ipv4 1384 include/net/tcp.h int tcp_adv_win_scale = sock_net(sk)->ipv4.sysctl_tcp_adv_win_scale; ipv4 1428 include/net/tcp.h return tp->keepalive_intvl ? : net->ipv4.sysctl_tcp_keepalive_intvl; ipv4 1435 include/net/tcp.h return tp->keepalive_time ? : net->ipv4.sysctl_tcp_keepalive_time; ipv4 1442 include/net/tcp.h return tp->keepalive_probes ? : net->ipv4.sysctl_tcp_keepalive_probes; ipv4 1455 include/net/tcp.h int fin_timeout = tcp_sk(sk)->linger2 ? : sock_net(sk)->ipv4.sysctl_tcp_fin_timeout; ipv4 1688 include/net/tcp.h ctx = rcu_dereference(sock_net(sk)->ipv4.tcp_fastopen_ctx); ipv4 1934 include/net/tcp.h return tp->notsent_lowat ?: net->ipv4.sysctl_tcp_notsent_lowat; ipv4 255 include/net/udp.h return inet_bound_dev_eq(!!net->ipv4.sysctl_udp_l3mdev_accept, ipv4 416 include/net/udp.h #define __UDPX_MIB(sk, ipv4) \ ipv4 418 include/net/udp.h ipv4 ? (IS_UDPLITE(sk) ? sock_net(sk)->mib.udplite_statistics : \ ipv4 424 include/net/udp.h #define __UDPX_MIB(sk, ipv4) \ ipv4 468 include/net/udp.h struct sk_buff *skb, bool ipv4) ipv4 497 include/net/udp.h SNMP_ADD_STATS(__UDPX_MIB(sk, ipv4), UDP_MIB_INERRORS, segs_nr); ipv4 2036 include/rdma/ib_verbs.h struct ib_flow_spec_ipv4 ipv4; ipv4 74 include/trace/events/fib.h *p32 = nhc->nhc_gw.ipv4; ipv4 3129 include/uapi/linux/bpf.h } ipv4; ipv4 93 net/bridge/netfilter/nft_reject_bridge.c net->ipv4.sysctl_ip_default_ttl); ipv4 145 net/bridge/netfilter/nft_reject_bridge.c net->ipv4.sysctl_ip_default_ttl); ipv4 2850 net/core/ethtool.c struct flow_dissector_key_ipv4_addrs ipv4; ipv4 2928 net/core/ethtool.c match->key.ipv4.src = v4_spec->ip4src; ipv4 2929 net/core/ethtool.c match->mask.ipv4.src = v4_m_spec->ip4src; ipv4 2932 net/core/ethtool.c match->key.ipv4.dst = v4_spec->ip4dst; ipv4 2933 net/core/ethtool.c match->mask.ipv4.dst = v4_m_spec->ip4dst; ipv4 2940 net/core/ethtool.c offsetof(struct ethtool_rx_flow_key, ipv4); ipv4 3872 net/core/filter.c to->remote_ipv4 = be32_to_cpu(info->key.u.ipv4.src); ipv4 3989 net/core/filter.c info->key.u.ipv4.dst = cpu_to_be32(from->remote_ipv4); ipv4 4709 net/core/filter.c params->ipv4_dst = nhc->nhc_gw.ipv4; ipv4 5214 net/core/filter.c __be32 src4 = tuple->ipv4.saddr; ipv4 5215 net/core/filter.c __be32 dst4 = tuple->ipv4.daddr; ipv4 5219 net/core/filter.c src4, tuple->ipv4.sport, ipv4 5220 net/core/filter.c dst4, tuple->ipv4.dport, ipv4 5223 net/core/filter.c sk = __udp4_lib_lookup(net, src4, tuple->ipv4.sport, ipv4 5224 net/core/filter.c dst4, tuple->ipv4.dport, ipv4 5267 net/core/filter.c if (len == sizeof(tuple->ipv4)) ipv4 5808 net/core/filter.c if (!sock_net(sk)->ipv4.sysctl_tcp_syncookies) ipv4 5874 net/core/filter.c if (!sock_net(sk)->ipv4.sysctl_tcp_syncookies) ipv4 332 net/core/flow_dissector.c struct flow_dissector_key_ipv4_addrs *ipv4; ipv4 334 net/core/flow_dissector.c ipv4 = skb_flow_dissector_target(flow_dissector, ipv4 337 net/core/flow_dissector.c ipv4->src = key->u.ipv4.src; ipv4 338 net/core/flow_dissector.c ipv4->dst = key->u.ipv4.dst; ipv4 183 net/core/lwt_bpf.c bool ipv4; ipv4 186 net/core/lwt_bpf.c ipv4 = true; ipv4 188 net/core/lwt_bpf.c ipv4 = false; ipv4 201 net/core/lwt_bpf.c if (ipv4) { ipv4 536 net/core/lwt_bpf.c static int handle_gso_encap(struct sk_buff *skb, bool ipv4, int encap_len) ipv4 549 net/core/lwt_bpf.c if (ipv4) { ipv4 582 net/core/lwt_bpf.c if (ipv4) ipv4 595 net/core/lwt_bpf.c bool ipv4; ipv4 604 net/core/lwt_bpf.c ipv4 = true; ipv4 608 net/core/lwt_bpf.c ipv4 = false; ipv4 636 net/core/lwt_bpf.c if (ipv4) { ipv4 648 net/core/lwt_bpf.c return handle_gso_encap(skb, ipv4, len); ipv4 332 net/core/net_namespace.c mutex_init(&net->ipv4.ra_mutex); ipv4 66 net/core/secure_seq.c if (net->ipv4.sysctl_tcp_timestamps != 1) ipv4 120 net/core/secure_seq.c if (net->ipv4.sysctl_tcp_timestamps != 1) ipv4 222 net/ipv4/af_inet.c tcp_fastopen = sock_net(sk)->ipv4.sysctl_tcp_fastopen; ipv4 340 net/ipv4/af_inet.c if (net->ipv4.sysctl_ip_no_pmtu_disc) ipv4 1218 net/ipv4/af_inet.c if (sock_net(sk)->ipv4.sysctl_ip_dynaddr > 1) { ipv4 1273 net/ipv4/af_inet.c if (!sock_net(sk)->ipv4.sysctl_ip_dynaddr || ipv4 1813 net/ipv4/af_inet.c seqlock_init(&net->ipv4.ip_local_ports.lock); ipv4 1814 net/ipv4/af_inet.c net->ipv4.ip_local_ports.range[0] = 32768; ipv4 1815 net/ipv4/af_inet.c net->ipv4.ip_local_ports.range[1] = 60999; ipv4 1817 net/ipv4/af_inet.c seqlock_init(&net->ipv4.ping_group_range.lock); ipv4 1822 net/ipv4/af_inet.c net->ipv4.ping_group_range.range[0] = make_kgid(&init_user_ns, 1); ipv4 1823 net/ipv4/af_inet.c net->ipv4.ping_group_range.range[1] = make_kgid(&init_user_ns, 0); ipv4 1828 net/ipv4/af_inet.c net->ipv4.sysctl_ip_default_ttl = IPDEFTTL; ipv4 1829 net/ipv4/af_inet.c net->ipv4.sysctl_ip_fwd_update_priority = 1; ipv4 1830 net/ipv4/af_inet.c net->ipv4.sysctl_ip_dynaddr = 0; ipv4 1831 net/ipv4/af_inet.c net->ipv4.sysctl_ip_early_demux = 1; ipv4 1832 net/ipv4/af_inet.c net->ipv4.sysctl_udp_early_demux = 1; ipv4 1833 net/ipv4/af_inet.c net->ipv4.sysctl_tcp_early_demux = 1; ipv4 1835 net/ipv4/af_inet.c net->ipv4.sysctl_ip_prot_sock = PROT_SOCK; ipv4 1839 net/ipv4/af_inet.c net->ipv4.sysctl_igmp_max_memberships = 20; ipv4 1840 net/ipv4/af_inet.c net->ipv4.sysctl_igmp_max_msf = 10; ipv4 1842 net/ipv4/af_inet.c net->ipv4.sysctl_igmp_llm_reports = 1; ipv4 1843 net/ipv4/af_inet.c net->ipv4.sysctl_igmp_qrv = 2; ipv4 94 net/ipv4/devinet.c IPV4_DEVCONF((*net->ipv4.devconf_dflt), attr) ipv4 262 net/ipv4/devinet.c memcpy(&in_dev->cnf, dev_net(dev)->ipv4.devconf_dflt, ipv4 626 net/ipv4/devinet.c struct sock *sk = net->ipv4.mc_autojoin_sk; ipv4 1852 net/ipv4/devinet.c cb->seq = atomic_read(&tgt_net->ipv4.dev_addr_genid) ^ ipv4 2183 net/ipv4/devinet.c devconf = net->ipv4.devconf_all; ipv4 2186 net/ipv4/devinet.c devconf = net->ipv4.devconf_dflt; ipv4 2252 net/ipv4/devinet.c cb->seq = atomic_read(&net->ipv4.dev_addr_genid) ^ ipv4 2279 net/ipv4/devinet.c net->ipv4.devconf_all, ipv4 2290 net/ipv4/devinet.c net->ipv4.devconf_dflt, ipv4 2318 net/ipv4/devinet.c in_dev->cnf.data[i] = net->ipv4.devconf_dflt->data[i]; ipv4 2334 net/ipv4/devinet.c net->ipv4.devconf_all); ipv4 2338 net/ipv4/devinet.c net->ipv4.devconf_dflt); ipv4 2358 net/ipv4/devinet.c if (cnf == net->ipv4.devconf_dflt) ipv4 2360 net/ipv4/devinet.c else if (cnf == net->ipv4.devconf_all) ipv4 2385 net/ipv4/devinet.c if (cnf == net->ipv4.devconf_dflt) ipv4 2460 net/ipv4/devinet.c net->ipv4.devconf_dflt); ipv4 2676 net/ipv4/devinet.c memcpy(all, init_net.ipv4.devconf_all, sizeof(ipv4_devconf)); ipv4 2677 net/ipv4/devinet.c memcpy(dflt, init_net.ipv4.devconf_dflt, sizeof(ipv4_devconf_dflt)); ipv4 2694 net/ipv4/devinet.c net->ipv4.forw_hdr = forw_hdr; ipv4 2697 net/ipv4/devinet.c net->ipv4.devconf_all = all; ipv4 2698 net/ipv4/devinet.c net->ipv4.devconf_dflt = dflt; ipv4 2722 net/ipv4/devinet.c tbl = net->ipv4.forw_hdr->ctl_table_arg; ipv4 2723 net/ipv4/devinet.c unregister_net_sysctl_table(net->ipv4.forw_hdr); ipv4 2724 net/ipv4/devinet.c __devinet_sysctl_unregister(net, net->ipv4.devconf_dflt, ipv4 2726 net/ipv4/devinet.c __devinet_sysctl_unregister(net, net->ipv4.devconf_all, ipv4 2730 net/ipv4/devinet.c kfree(net->ipv4.devconf_dflt); ipv4 2731 net/ipv4/devinet.c kfree(net->ipv4.devconf_all); ipv4 64 net/ipv4/fib_frontend.c &net->ipv4.fib_table_hash[TABLE_LOCAL_INDEX]); ipv4 66 net/ipv4/fib_frontend.c &net->ipv4.fib_table_hash[TABLE_MAIN_INDEX]); ipv4 91 net/ipv4/fib_frontend.c if (id == RT_TABLE_LOCAL && !net->ipv4.fib_has_custom_rules) ipv4 100 net/ipv4/fib_frontend.c rcu_assign_pointer(net->ipv4.fib_main, tb); ipv4 103 net/ipv4/fib_frontend.c rcu_assign_pointer(net->ipv4.fib_default, tb); ipv4 110 net/ipv4/fib_frontend.c hlist_add_head_rcu(&tb->tb_hlist, &net->ipv4.fib_table_hash[h]); ipv4 126 net/ipv4/fib_frontend.c head = &net->ipv4.fib_table_hash[h]; ipv4 137 net/ipv4/fib_frontend.c return net->ipv4.fib_has_custom_rules; ipv4 147 net/ipv4/fib_frontend.c rcu_assign_pointer(net->ipv4.fib_main, new); ipv4 150 net/ipv4/fib_frontend.c rcu_assign_pointer(net->ipv4.fib_default, new); ipv4 199 net/ipv4/fib_frontend.c struct hlist_head *head = &net->ipv4.fib_table_hash[h]; ipv4 443 net/ipv4/fib_frontend.c if (net->ipv4.fib_has_custom_local_routes || ipv4 895 net/ipv4/fib_frontend.c net->ipv4.fib_has_custom_local_routes = true; ipv4 1023 net/ipv4/fib_frontend.c head = &net->ipv4.fib_table_hash[h]; ipv4 1388 net/ipv4/fib_frontend.c netlink_unicast(net->ipv4.fibnl, skb, portid, MSG_DONTWAIT); ipv4 1401 net/ipv4/fib_frontend.c net->ipv4.fibnl = sk; ipv4 1407 net/ipv4/fib_frontend.c netlink_kernel_release(net->ipv4.fibnl); ipv4 1408 net/ipv4/fib_frontend.c net->ipv4.fibnl = NULL; ipv4 1433 net/ipv4/fib_frontend.c atomic_inc(&net->ipv4.dev_addr_genid); ipv4 1438 net/ipv4/fib_frontend.c atomic_inc(&net->ipv4.dev_addr_genid); ipv4 1480 net/ipv4/fib_frontend.c atomic_inc(&net->ipv4.dev_addr_genid); ipv4 1531 net/ipv4/fib_frontend.c net->ipv4.fib_table_hash = kzalloc(size, GFP_KERNEL); ipv4 1532 net/ipv4/fib_frontend.c if (!net->ipv4.fib_table_hash) { ipv4 1543 net/ipv4/fib_frontend.c kfree(net->ipv4.fib_table_hash); ipv4 1555 net/ipv4/fib_frontend.c RCU_INIT_POINTER(net->ipv4.fib_main, NULL); ipv4 1556 net/ipv4/fib_frontend.c RCU_INIT_POINTER(net->ipv4.fib_default, NULL); ipv4 1564 net/ipv4/fib_frontend.c struct hlist_head *head = &net->ipv4.fib_table_hash[i]; ipv4 1579 net/ipv4/fib_frontend.c kfree(net->ipv4.fib_table_hash); ipv4 1588 net/ipv4/fib_frontend.c net->ipv4.fib_num_tclassid_users = 0; ipv4 26 net/ipv4/fib_notifier.c net->ipv4.fib_seq++; ipv4 34 net/ipv4/fib_notifier.c return net->ipv4.fib_seq + fib4_rules_seq_read(net); ipv4 61 net/ipv4/fib_notifier.c net->ipv4.fib_seq = 0; ipv4 66 net/ipv4/fib_notifier.c net->ipv4.notifier_ops = ops; ipv4 73 net/ipv4/fib_notifier.c fib_notifier_ops_unregister(net->ipv4.notifier_ops); ipv4 90 net/ipv4/fib_rules.c err = fib_rules_lookup(net->ipv4.rules_ops, flowi4_to_flowi(flp), 0, &arg); ipv4 261 net/ipv4/fib_rules.c net->ipv4.fib_num_tclassid_users++; ipv4 266 net/ipv4/fib_rules.c net->ipv4.fib_rules_require_fldissect++; ipv4 274 net/ipv4/fib_rules.c net->ipv4.fib_has_custom_rules = true; ipv4 293 net/ipv4/fib_rules.c net->ipv4.fib_num_tclassid_users--; ipv4 295 net/ipv4/fib_rules.c net->ipv4.fib_has_custom_rules = true; ipv4 297 net/ipv4/fib_rules.c if (net->ipv4.fib_rules_require_fldissect && ipv4 299 net/ipv4/fib_rules.c net->ipv4.fib_rules_require_fldissect--; ipv4 415 net/ipv4/fib_rules.c net->ipv4.rules_ops = ops; ipv4 416 net/ipv4/fib_rules.c net->ipv4.fib_has_custom_rules = false; ipv4 417 net/ipv4/fib_rules.c net->ipv4.fib_rules_require_fldissect = 0; ipv4 428 net/ipv4/fib_rules.c fib_rules_unregister(net->ipv4.rules_ops); ipv4 225 net/ipv4/fib_semantics.c net->ipv4.fib_num_tclassid_users--; ipv4 541 net/ipv4/fib_semantics.c n = neigh_lookup(&arp_tbl, &nhc->nhc_gw.ipv4, nhc->nhc_dev); ipv4 627 net/ipv4/fib_semantics.c net->ipv4.fib_num_tclassid_users++; ipv4 1290 net/ipv4/fib_semantics.c nh->nh_saddr_genid = atomic_read(&net->ipv4.dev_addr_genid); ipv4 1306 net/ipv4/fib_semantics.c if (nh->nh_saddr_genid == atomic_read(&net->ipv4.dev_addr_genid)) ipv4 1609 net/ipv4/fib_semantics.c if (nla_put_in_addr(skb, RTA_GATEWAY, nhc->nhc_gw.ipv4)) ipv4 2170 net/ipv4/fib_semantics.c if (net->ipv4.sysctl_fib_multipath_use_neigh) { ipv4 2010 net/ipv4/fib_trie.c struct hlist_head *head = &net->ipv4.fib_table_hash[h]; ipv4 2062 net/ipv4/fib_trie.c struct hlist_head *head = &net->ipv4.fib_table_hash[h]; ipv4 2460 net/ipv4/fib_trie.c struct hlist_head *head = &net->ipv4.fib_table_hash[h]; ipv4 2493 net/ipv4/fib_trie.c struct hlist_head *head = &net->ipv4.fib_table_hash[h]; ipv4 2545 net/ipv4/fib_trie.c struct hlist_head *head = &net->ipv4.fib_table_hash[h]; ipv4 2763 net/ipv4/fib_trie.c if (nhc->nhc_gw.ipv4) ipv4 2814 net/ipv4/fib_trie.c gw = nhc->nhc_gw.ipv4; ipv4 204 net/ipv4/icmp.c return this_cpu_read(*net->ipv4.icmp_sk); ipv4 289 net/ipv4/icmp.c if (!((1 << type) & net->ipv4.sysctl_icmp_ratemask)) ipv4 326 net/ipv4/icmp.c peer = inet_getpeer_v4(net->ipv4.peers, fl4->daddr, vif, 1); ipv4 327 net/ipv4/icmp.c rc = inet_peer_xrlim_allow(peer, net->ipv4.sysctl_icmp_ratelimit); ipv4 682 net/ipv4/icmp.c net->ipv4.sysctl_icmp_errors_use_inbound_ifaddr) ipv4 824 net/ipv4/icmp.c switch (net->ipv4.sysctl_ip_no_pmtu_disc) { ipv4 877 net/ipv4/icmp.c if (!net->ipv4.sysctl_icmp_ignore_bogus_error_responses && ipv4 933 net/ipv4/icmp.c if (!net->ipv4.sysctl_icmp_echo_ignore_all) { ipv4 1057 net/ipv4/icmp.c net->ipv4.sysctl_icmp_echo_ignore_broadcasts) { ipv4 1190 net/ipv4/icmp.c inet_ctl_sock_destroy(*per_cpu_ptr(net->ipv4.icmp_sk, i)); ipv4 1191 net/ipv4/icmp.c free_percpu(net->ipv4.icmp_sk); ipv4 1192 net/ipv4/icmp.c net->ipv4.icmp_sk = NULL; ipv4 1199 net/ipv4/icmp.c net->ipv4.icmp_sk = alloc_percpu(struct sock *); ipv4 1200 net/ipv4/icmp.c if (!net->ipv4.icmp_sk) ipv4 1211 net/ipv4/icmp.c *per_cpu_ptr(net->ipv4.icmp_sk, i) = sk; ipv4 1226 net/ipv4/icmp.c net->ipv4.sysctl_icmp_echo_ignore_all = 0; ipv4 1227 net/ipv4/icmp.c net->ipv4.sysctl_icmp_echo_ignore_broadcasts = 1; ipv4 1230 net/ipv4/icmp.c net->ipv4.sysctl_icmp_ignore_bogus_error_responses = 1; ipv4 1244 net/ipv4/icmp.c net->ipv4.sysctl_icmp_ratelimit = 1 * HZ; ipv4 1245 net/ipv4/icmp.c net->ipv4.sysctl_icmp_ratemask = 0x1818; ipv4 1246 net/ipv4/icmp.c net->ipv4.sysctl_icmp_errors_use_inbound_ifaddr = 0; ipv4 472 net/ipv4/igmp.c if (ipv4_is_local_multicast(pmc->multiaddr) && !net->ipv4.sysctl_igmp_llm_reports) ipv4 598 net/ipv4/igmp.c !net->ipv4.sysctl_igmp_llm_reports) ipv4 741 net/ipv4/igmp.c if (ipv4_is_local_multicast(group) && !net->ipv4.sysctl_igmp_llm_reports) ipv4 823 net/ipv4/igmp.c in_dev->mr_ifc_count = in_dev->mr_qrv ?: net->ipv4.sysctl_igmp_qrv; ipv4 918 net/ipv4/igmp.c if (ipv4_is_local_multicast(group) && !net->ipv4.sysctl_igmp_llm_reports) ipv4 1004 net/ipv4/igmp.c in_dev->mr_qrv = ih3->qrv ?: net->ipv4.sysctl_igmp_qrv; ipv4 1043 net/ipv4/igmp.c !net->ipv4.sysctl_igmp_llm_reports) ipv4 1184 net/ipv4/igmp.c pmc->crcount = in_dev->mr_qrv ?: net->ipv4.sysctl_igmp_qrv; ipv4 1235 net/ipv4/igmp.c psf->sf_crcount = in_dev->mr_qrv ?: net->ipv4.sysctl_igmp_qrv; ipv4 1237 net/ipv4/igmp.c im->crcount = in_dev->mr_qrv ?: net->ipv4.sysctl_igmp_qrv; ipv4 1294 net/ipv4/igmp.c if (ipv4_is_local_multicast(im->multiaddr) && !net->ipv4.sysctl_igmp_llm_reports) ipv4 1336 net/ipv4/igmp.c if (ipv4_is_local_multicast(im->multiaddr) && !net->ipv4.sysctl_igmp_llm_reports) ipv4 1342 net/ipv4/igmp.c im->unsolicit_count = net->ipv4.sysctl_igmp_qrv; ipv4 1356 net/ipv4/igmp.c im->crcount = in_dev->mr_qrv ?: net->ipv4.sysctl_igmp_qrv; ipv4 1640 net/ipv4/igmp.c !net->ipv4.sysctl_igmp_llm_reports) ipv4 1747 net/ipv4/igmp.c in_dev->mr_qrv = net->ipv4.sysctl_igmp_qrv; ipv4 1880 net/ipv4/igmp.c psf->sf_crcount = in_dev->mr_qrv ?: net->ipv4.sysctl_igmp_qrv; ipv4 1944 net/ipv4/igmp.c pmc->crcount = in_dev->mr_qrv ?: net->ipv4.sysctl_igmp_qrv; ipv4 2123 net/ipv4/igmp.c pmc->crcount = in_dev->mr_qrv ?: net->ipv4.sysctl_igmp_qrv; ipv4 2189 net/ipv4/igmp.c if (count >= net->ipv4.sysctl_igmp_max_memberships) ipv4 2376 net/ipv4/igmp.c if (psl && psl->sl_count >= net->ipv4.sysctl_igmp_max_msf) { ipv4 3016 net/ipv4/igmp.c err = inet_ctl_sock_create(&net->ipv4.mc_autojoin_sk, AF_INET, ipv4 3038 net/ipv4/igmp.c inet_ctl_sock_destroy(net->ipv4.mc_autojoin_sk); ipv4 125 net/ipv4/inet_connection_sock.c seq = read_seqbegin(&net->ipv4.ip_local_ports.lock); ipv4 127 net/ipv4/inet_connection_sock.c *low = net->ipv4.ip_local_ports.range[0]; ipv4 128 net/ipv4/inet_connection_sock.c *high = net->ipv4.ip_local_ports.range[1]; ipv4 129 net/ipv4/inet_connection_sock.c } while (read_seqretry(&net->ipv4.ip_local_ports.lock, seq)); ipv4 724 net/ipv4/inet_connection_sock.c max_retries = icsk->icsk_syn_retries ? : net->ipv4.sysctl_tcp_synack_retries; ipv4 154 net/ipv4/ip_forward.c if (net->ipv4.sysctl_ip_fwd_update_priority) ipv4 92 net/ipv4/ip_fragment.c inet_getpeer_v4(net->ipv4.peers, key->saddr, key->vif, 1) : ipv4 216 net/ipv4/ip_fragment.c q = inet_frag_find(net->ipv4.fqdir, &key); ipv4 602 net/ipv4/ip_fragment.c table[0].data = &net->ipv4.fqdir->high_thresh; ipv4 603 net/ipv4/ip_fragment.c table[0].extra1 = &net->ipv4.fqdir->low_thresh; ipv4 604 net/ipv4/ip_fragment.c table[1].data = &net->ipv4.fqdir->low_thresh; ipv4 605 net/ipv4/ip_fragment.c table[1].extra2 = &net->ipv4.fqdir->high_thresh; ipv4 606 net/ipv4/ip_fragment.c table[2].data = &net->ipv4.fqdir->timeout; ipv4 607 net/ipv4/ip_fragment.c table[3].data = &net->ipv4.fqdir->max_dist; ipv4 613 net/ipv4/ip_fragment.c net->ipv4.frags_hdr = hdr; ipv4 627 net/ipv4/ip_fragment.c table = net->ipv4.frags_hdr->ctl_table_arg; ipv4 628 net/ipv4/ip_fragment.c unregister_net_sysctl_table(net->ipv4.frags_hdr); ipv4 655 net/ipv4/ip_fragment.c res = fqdir_init(&net->ipv4.fqdir, &ip4_frags, net); ipv4 672 net/ipv4/ip_fragment.c net->ipv4.fqdir->high_thresh = 4 * 1024 * 1024; ipv4 673 net/ipv4/ip_fragment.c net->ipv4.fqdir->low_thresh = 3 * 1024 * 1024; ipv4 679 net/ipv4/ip_fragment.c net->ipv4.fqdir->timeout = IP_FRAG_TIME; ipv4 681 net/ipv4/ip_fragment.c net->ipv4.fqdir->max_dist = 64; ipv4 685 net/ipv4/ip_fragment.c fqdir_exit(net->ipv4.fqdir); ipv4 691 net/ipv4/ip_fragment.c fqdir_pre_exit(net->ipv4.fqdir); ipv4 697 net/ipv4/ip_fragment.c fqdir_exit(net->ipv4.fqdir); ipv4 579 net/ipv4/ip_gre.c ip_tunnel_init_flow(&fl4, IPPROTO_GRE, key->u.ipv4.dst, key->u.ipv4.src, ipv4 587 net/ipv4/ip_gre.c info->key.u.ipv4.src = fl4.saddr; ipv4 156 net/ipv4/ip_input.c for (ra = rcu_dereference(net->ipv4.ra_chain); ra; ra = rcu_dereference(ra->next)) { ipv4 315 net/ipv4/ip_input.c if (net->ipv4.sysctl_ip_early_demux && ipv4 349 net/ipv4/ip_sockglue.c mutex_lock(&net->ipv4.ra_mutex); ipv4 350 net/ipv4/ip_sockglue.c for (rap = &net->ipv4.ra_chain; ipv4 352 net/ipv4/ip_sockglue.c lockdep_is_held(&net->ipv4.ra_mutex))) != NULL; ipv4 356 net/ipv4/ip_sockglue.c mutex_unlock(&net->ipv4.ra_mutex); ipv4 363 net/ipv4/ip_sockglue.c mutex_unlock(&net->ipv4.ra_mutex); ipv4 378 net/ipv4/ip_sockglue.c mutex_unlock(&net->ipv4.ra_mutex); ipv4 387 net/ipv4/ip_sockglue.c mutex_unlock(&net->ipv4.ra_mutex); ipv4 949 net/ipv4/ip_sockglue.c msf->imsf_numsrc > net->ipv4.sysctl_igmp_max_msf) { ipv4 1101 net/ipv4/ip_sockglue.c gsf->gf_numsrc > net->ipv4.sysctl_igmp_max_msf) { ipv4 1394 net/ipv4/ip_sockglue.c net->ipv4.sysctl_ip_default_ttl : ipv4 571 net/ipv4/ip_tunnel.c ip_tunnel_init_flow(&fl4, proto, key->u.ipv4.dst, key->u.ipv4.src, ipv4 599 net/ipv4/ip_tunnel.c key->u.ipv4.dst, true)) { ipv4 672 net/ipv4/ip_tunnel.c tun_info->key.u.ipv4.dst) { ipv4 673 net/ipv4/ip_tunnel.c dst = tun_info->key.u.ipv4.dst; ipv4 143 net/ipv4/ip_tunnel_core.c dst->key.u.ipv4.dst = src->key.u.ipv4.src; ipv4 257 net/ipv4/ip_tunnel_core.c tun_info->key.u.ipv4.dst = nla_get_in_addr(tb[LWTUNNEL_IP_DST]); ipv4 260 net/ipv4/ip_tunnel_core.c tun_info->key.u.ipv4.src = nla_get_in_addr(tb[LWTUNNEL_IP_SRC]); ipv4 295 net/ipv4/ip_tunnel_core.c nla_put_in_addr(skb, LWTUNNEL_IP_DST, tun_info->key.u.ipv4.dst) || ipv4 296 net/ipv4/ip_tunnel_core.c nla_put_in_addr(skb, LWTUNNEL_IP_SRC, tun_info->key.u.ipv4.src) || ipv4 113 net/ipv4/ipmr.c list_for_each_entry_rcu(mrt, &net->ipv4.mr_tables, list) ipv4 121 net/ipv4/ipmr.c ret = list_entry_rcu(net->ipv4.mr_tables.next, ipv4 127 net/ipv4/ipmr.c if (&ret->list == &net->ipv4.mr_tables) ipv4 156 net/ipv4/ipmr.c err = fib_rules_lookup(net->ipv4.mr_rules_ops, ipv4 246 net/ipv4/ipmr.c INIT_LIST_HEAD(&net->ipv4.mr_tables); ipv4 258 net/ipv4/ipmr.c net->ipv4.mr_rules_ops = ops; ipv4 273 net/ipv4/ipmr.c list_for_each_entry_safe(mrt, next, &net->ipv4.mr_tables, list) { ipv4 277 net/ipv4/ipmr.c fib_rules_unregister(net->ipv4.mr_rules_ops); ipv4 298 net/ipv4/ipmr.c for (mrt = net->ipv4.mrt; mrt; mrt = NULL) ipv4 304 net/ipv4/ipmr.c return net->ipv4.mrt; ipv4 310 net/ipv4/ipmr.c return net->ipv4.mrt; ipv4 316 net/ipv4/ipmr.c *mrt = net->ipv4.mrt; ipv4 327 net/ipv4/ipmr.c net->ipv4.mrt = mrt; ipv4 334 net/ipv4/ipmr.c ipmr_free_table(net->ipv4.mrt); ipv4 335 net/ipv4/ipmr.c net->ipv4.mrt = NULL; ipv4 379 net/ipv4/ipmr.c list_add_tail_rcu(&mrt->list, &net->ipv4.mr_tables); ipv4 652 net/ipv4/ipmr.c &net->ipv4.ipmr_seq); ipv4 660 net/ipv4/ipmr.c &mfc->_c, tb_id, &net->ipv4.ipmr_seq); ipv4 1359 net/ipv4/ipmr.c net->ipv4.devconf_all); ipv4 1423 net/ipv4/ipmr.c net->ipv4.devconf_all); ipv4 3041 net/ipv4/ipmr.c return net->ipv4.ipmr_seq + ipmr_rules_seq_read(net); ipv4 3061 net/ipv4/ipmr.c net->ipv4.ipmr_seq = 0; ipv4 3066 net/ipv4/ipmr.c net->ipv4.ipmr_notifier_ops = ops; ipv4 3073 net/ipv4/ipmr.c fib_notifier_ops_unregister(net->ipv4.ipmr_notifier_ops); ipv4 3074 net/ipv4/ipmr.c net->ipv4.ipmr_notifier_ops = NULL; ipv4 37 net/ipv4/netfilter/arptable_filter.c return arpt_do_table(skb, state, state->net->ipv4.arptable_filter); ipv4 47 net/ipv4/netfilter/arptable_filter.c if (net->ipv4.arptable_filter) ipv4 54 net/ipv4/netfilter/arptable_filter.c &net->ipv4.arptable_filter); ipv4 61 net/ipv4/netfilter/arptable_filter.c if (!net->ipv4.arptable_filter) ipv4 63 net/ipv4/netfilter/arptable_filter.c arpt_unregister_table(net, net->ipv4.arptable_filter, arpfilter_ops); ipv4 64 net/ipv4/netfilter/arptable_filter.c net->ipv4.arptable_filter = NULL; ipv4 37 net/ipv4/netfilter/iptable_filter.c return ipt_do_table(skb, state, state->net->ipv4.iptable_filter); ipv4 51 net/ipv4/netfilter/iptable_filter.c if (net->ipv4.iptable_filter) ipv4 62 net/ipv4/netfilter/iptable_filter.c &net->ipv4.iptable_filter); ipv4 77 net/ipv4/netfilter/iptable_filter.c if (!net->ipv4.iptable_filter) ipv4 79 net/ipv4/netfilter/iptable_filter.c ipt_unregister_table(net, net->ipv4.iptable_filter, filter_ops); ipv4 80 net/ipv4/netfilter/iptable_filter.c net->ipv4.iptable_filter = NULL; ipv4 56 net/ipv4/netfilter/iptable_mangle.c ret = ipt_do_table(skb, state, state->net->ipv4.iptable_mangle); ipv4 82 net/ipv4/netfilter/iptable_mangle.c return ipt_do_table(skb, state, state->net->ipv4.iptable_mangle); ipv4 91 net/ipv4/netfilter/iptable_mangle.c if (net->ipv4.iptable_mangle) ipv4 98 net/ipv4/netfilter/iptable_mangle.c &net->ipv4.iptable_mangle); ipv4 105 net/ipv4/netfilter/iptable_mangle.c if (!net->ipv4.iptable_mangle) ipv4 107 net/ipv4/netfilter/iptable_mangle.c ipt_unregister_table(net, net->ipv4.iptable_mangle, mangle_ops); ipv4 108 net/ipv4/netfilter/iptable_mangle.c net->ipv4.iptable_mangle = NULL; ipv4 33 net/ipv4/netfilter/iptable_nat.c return ipt_do_table(skb, state, state->net->ipv4.nat_table); ipv4 93 net/ipv4/netfilter/iptable_nat.c if (net->ipv4.nat_table) ipv4 100 net/ipv4/netfilter/iptable_nat.c NULL, &net->ipv4.nat_table); ipv4 108 net/ipv4/netfilter/iptable_nat.c ipt_unregister_table(net, net->ipv4.nat_table, NULL); ipv4 109 net/ipv4/netfilter/iptable_nat.c net->ipv4.nat_table = NULL; ipv4 118 net/ipv4/netfilter/iptable_nat.c if (!net->ipv4.nat_table) ipv4 121 net/ipv4/netfilter/iptable_nat.c ipt_unregister_table(net, net->ipv4.nat_table, NULL); ipv4 122 net/ipv4/netfilter/iptable_nat.c net->ipv4.nat_table = NULL; ipv4 44 net/ipv4/netfilter/iptable_raw.c return ipt_do_table(skb, state, state->net->ipv4.iptable_raw); ipv4 58 net/ipv4/netfilter/iptable_raw.c if (net->ipv4.iptable_raw) ipv4 65 net/ipv4/netfilter/iptable_raw.c &net->ipv4.iptable_raw); ipv4 72 net/ipv4/netfilter/iptable_raw.c if (!net->ipv4.iptable_raw) ipv4 74 net/ipv4/netfilter/iptable_raw.c ipt_unregister_table(net, net->ipv4.iptable_raw, rawtable_ops); ipv4 75 net/ipv4/netfilter/iptable_raw.c net->ipv4.iptable_raw = NULL; ipv4 43 net/ipv4/netfilter/iptable_security.c return ipt_do_table(skb, state, state->net->ipv4.iptable_security); ipv4 53 net/ipv4/netfilter/iptable_security.c if (net->ipv4.iptable_security) ipv4 60 net/ipv4/netfilter/iptable_security.c &net->ipv4.iptable_security); ipv4 67 net/ipv4/netfilter/iptable_security.c if (!net->ipv4.iptable_security) ipv4 70 net/ipv4/netfilter/iptable_security.c ipt_unregister_table(net, net->ipv4.iptable_security, sectbl_ops); ipv4 71 net/ipv4/netfilter/iptable_security.c net->ipv4.iptable_security = NULL; ipv4 1174 net/ipv4/nexthop.c .fc_gw4 = cfg->gw.ipv4, ipv4 1175 net/ipv4/nexthop.c .fc_gw_family = cfg->gw.ipv4 ? AF_INET : 0, ipv4 1445 net/ipv4/nexthop.c cfg->gw.ipv4 = nla_get_be32(gwa); ipv4 240 net/ipv4/ping.c kgid_t *data = net->ipv4.ping_group_range.range; ipv4 244 net/ipv4/ping.c seq = read_seqbegin(&net->ipv4.ping_group_range.lock); ipv4 248 net/ipv4/ping.c } while (read_seqretry(&net->ipv4.ping_group_range.lock, seq)); ipv4 61 net/ipv4/proc.c atomic_read(&net->ipv4.tcp_death_row.tw_count), sockets, ipv4 71 net/ipv4/proc.c atomic_read(&net->ipv4.fqdir->rhashtable.nelems), ipv4 72 net/ipv4/proc.c frag_mem_limit(net->ipv4.fqdir)); ipv4 382 net/ipv4/proc.c net->ipv4.sysctl_ip_default_ttl); ipv4 1136 net/ipv4/raw.c net->ipv4.sysctl_raw_l3mdev_accept = 1; ipv4 511 net/ipv4/route.c if (unlikely(siphash_key_is_zero(&net->ipv4.ip_id_key))) ipv4 512 net/ipv4/route.c get_random_bytes(&net->ipv4.ip_id_key, ipv4 513 net/ipv4/route.c sizeof(net->ipv4.ip_id_key)); ipv4 518 net/ipv4/route.c &net->ipv4.ip_id_key); ipv4 889 net/ipv4/route.c peer = inet_getpeer_v4(net->ipv4.peers, ip_hdr(skb)->saddr, vif, 1); ipv4 989 net/ipv4/route.c peer = inet_getpeer_v4(net->ipv4.peers, ip_hdr(skb)->saddr, ipv4 1398 net/ipv4/route.c if (dev_net(dev)->ipv4.sysctl_ip_fwd_use_pmtu || ipv4 1576 net/ipv4/route.c rt->rt_gw4 = nhc->nhc_gw.ipv4; ipv4 1816 net/ipv4/route.c gw = nhc->nhc_gw_family == AF_INET ? nhc->nhc_gw.ipv4 : 0; ipv4 1923 net/ipv4/route.c switch (net->ipv4.sysctl_fib_multipath_hash_policy) { ipv4 3383 net/ipv4/route.c net->ipv4.route_hdr = register_net_sysctl(net, "net/ipv4/route", tbl); ipv4 3384 net/ipv4/route.c if (!net->ipv4.route_hdr) ipv4 3399 net/ipv4/route.c tbl = net->ipv4.route_hdr->ctl_table_arg; ipv4 3400 net/ipv4/route.c unregister_net_sysctl_table(net->ipv4.route_hdr); ipv4 3413 net/ipv4/route.c atomic_set(&net->ipv4.rt_genid, 0); ipv4 3415 net/ipv4/route.c atomic_set(&net->ipv4.dev_addr_genid, get_random_int()); ipv4 3430 net/ipv4/route.c net->ipv4.peers = bp; ipv4 3436 net/ipv4/route.c struct inet_peer_base *bp = net->ipv4.peers; ipv4 3438 net/ipv4/route.c net->ipv4.peers = NULL; ipv4 246 net/ipv4/syncookies.c if (!net->ipv4.sysctl_tcp_timestamps) ipv4 251 net/ipv4/syncookies.c if (tcp_opt->sack_ok && !net->ipv4.sysctl_tcp_sack) ipv4 260 net/ipv4/syncookies.c return net->ipv4.sysctl_tcp_window_scaling != 0; ipv4 272 net/ipv4/syncookies.c if (net->ipv4.sysctl_tcp_ecn) ipv4 300 net/ipv4/syncookies.c if (!sock_net(sk)->ipv4.sysctl_tcp_syncookies || !th->ack || th->rst) ipv4 62 net/ipv4/sysctl_net_ipv4.c write_seqlock_bh(&net->ipv4.ip_local_ports.lock); ipv4 63 net/ipv4/sysctl_net_ipv4.c if (same_parity && !net->ipv4.ip_local_ports.warned) { ipv4 64 net/ipv4/sysctl_net_ipv4.c net->ipv4.ip_local_ports.warned = true; ipv4 67 net/ipv4/sysctl_net_ipv4.c net->ipv4.ip_local_ports.range[0] = range[0]; ipv4 68 net/ipv4/sysctl_net_ipv4.c net->ipv4.ip_local_ports.range[1] = range[1]; ipv4 69 net/ipv4/sysctl_net_ipv4.c write_sequnlock_bh(&net->ipv4.ip_local_ports.lock); ipv4 78 net/ipv4/sysctl_net_ipv4.c container_of(table->data, struct net, ipv4.ip_local_ports.range); ipv4 99 net/ipv4/sysctl_net_ipv4.c (range[0] < net->ipv4.sysctl_ip_prot_sock)) ipv4 113 net/ipv4/sysctl_net_ipv4.c ipv4.sysctl_ip_prot_sock); ipv4 125 net/ipv4/sysctl_net_ipv4.c pports = net->ipv4.sysctl_ip_prot_sock; ipv4 137 net/ipv4/sysctl_net_ipv4.c net->ipv4.sysctl_ip_prot_sock = pports; ipv4 147 net/ipv4/sysctl_net_ipv4.c container_of(table->data, struct net, ipv4.ping_group_range.range); ipv4 150 net/ipv4/sysctl_net_ipv4.c seq = read_seqbegin(&net->ipv4.ping_group_range.lock); ipv4 154 net/ipv4/sysctl_net_ipv4.c } while (read_seqretry(&net->ipv4.ping_group_range.lock, seq)); ipv4 162 net/ipv4/sysctl_net_ipv4.c container_of(table->data, struct net, ipv4.ping_group_range.range); ipv4 163 net/ipv4/sysctl_net_ipv4.c write_seqlock(&net->ipv4.ping_group_range.lock); ipv4 166 net/ipv4/sysctl_net_ipv4.c write_sequnlock(&net->ipv4.ping_group_range.lock); ipv4 214 net/ipv4/sysctl_net_ipv4.c ipv4.sysctl_ip_fwd_update_priority); ipv4 227 net/ipv4/sysctl_net_ipv4.c ipv4.tcp_congestion_control); ipv4 303 net/ipv4/sysctl_net_ipv4.c ipv4.sysctl_tcp_fastopen); ipv4 321 net/ipv4/sysctl_net_ipv4.c ctx = rcu_dereference(net->ipv4.tcp_fastopen_ctx); ipv4 405 net/ipv4/sysctl_net_ipv4.c int enabled = init_net.ipv4.sysctl_tcp_early_demux; ipv4 421 net/ipv4/sysctl_net_ipv4.c int enabled = init_net.ipv4.sysctl_udp_early_demux; ipv4 435 net/ipv4/sysctl_net_ipv4.c ipv4.sysctl_tcp_fastopen_blackhole_timeout); ipv4 440 net/ipv4/sysctl_net_ipv4.c atomic_set(&net->ipv4.tfo_active_disable_times, 0); ipv4 469 net/ipv4/sysctl_net_ipv4.c ipv4.sysctl_fib_multipath_hash_policy); ipv4 621 net/ipv4/sysctl_net_ipv4.c .data = &init_net.ipv4.sysctl_icmp_echo_ignore_all, ipv4 628 net/ipv4/sysctl_net_ipv4.c .data = &init_net.ipv4.sysctl_icmp_echo_ignore_broadcasts, ipv4 635 net/ipv4/sysctl_net_ipv4.c .data = &init_net.ipv4.sysctl_icmp_ignore_bogus_error_responses, ipv4 642 net/ipv4/sysctl_net_ipv4.c .data = &init_net.ipv4.sysctl_icmp_errors_use_inbound_ifaddr, ipv4 649 net/ipv4/sysctl_net_ipv4.c .data = &init_net.ipv4.sysctl_icmp_ratelimit, ipv4 656 net/ipv4/sysctl_net_ipv4.c .data = &init_net.ipv4.sysctl_icmp_ratemask, ipv4 663 net/ipv4/sysctl_net_ipv4.c .data = &init_net.ipv4.ping_group_range.range, ipv4 671 net/ipv4/sysctl_net_ipv4.c .data = &init_net.ipv4.sysctl_raw_l3mdev_accept, ipv4 681 net/ipv4/sysctl_net_ipv4.c .data = &init_net.ipv4.sysctl_tcp_ecn, ipv4 688 net/ipv4/sysctl_net_ipv4.c .data = &init_net.ipv4.sysctl_tcp_ecn_fallback, ipv4 695 net/ipv4/sysctl_net_ipv4.c .data = &init_net.ipv4.sysctl_ip_dynaddr, ipv4 702 net/ipv4/sysctl_net_ipv4.c .data = &init_net.ipv4.sysctl_ip_early_demux, ipv4 709 net/ipv4/sysctl_net_ipv4.c .data = &init_net.ipv4.sysctl_udp_early_demux, ipv4 716 net/ipv4/sysctl_net_ipv4.c .data = &init_net.ipv4.sysctl_tcp_early_demux, ipv4 723 net/ipv4/sysctl_net_ipv4.c .data = &init_net.ipv4.sysctl_ip_default_ttl, ipv4 732 net/ipv4/sysctl_net_ipv4.c .maxlen = sizeof(init_net.ipv4.ip_local_ports.range), ipv4 733 net/ipv4/sysctl_net_ipv4.c .data = &init_net.ipv4.ip_local_ports.range, ipv4 739 net/ipv4/sysctl_net_ipv4.c .data = &init_net.ipv4.sysctl_local_reserved_ports, ipv4 746 net/ipv4/sysctl_net_ipv4.c .data = &init_net.ipv4.sysctl_ip_no_pmtu_disc, ipv4 753 net/ipv4/sysctl_net_ipv4.c .data = &init_net.ipv4.sysctl_ip_fwd_use_pmtu, ipv4 760 net/ipv4/sysctl_net_ipv4.c .data = &init_net.ipv4.sysctl_ip_fwd_update_priority, ipv4 769 net/ipv4/sysctl_net_ipv4.c .data = &init_net.ipv4.sysctl_ip_nonlocal_bind, ipv4 776 net/ipv4/sysctl_net_ipv4.c .data = &init_net.ipv4.sysctl_fwmark_reflect, ipv4 783 net/ipv4/sysctl_net_ipv4.c .data = &init_net.ipv4.sysctl_tcp_fwmark_accept, ipv4 791 net/ipv4/sysctl_net_ipv4.c .data = &init_net.ipv4.sysctl_tcp_l3mdev_accept, ipv4 801 net/ipv4/sysctl_net_ipv4.c .data = &init_net.ipv4.sysctl_tcp_mtu_probing, ipv4 808 net/ipv4/sysctl_net_ipv4.c .data = &init_net.ipv4.sysctl_tcp_base_mss, ipv4 815 net/ipv4/sysctl_net_ipv4.c .data = &init_net.ipv4.sysctl_tcp_min_snd_mss, ipv4 824 net/ipv4/sysctl_net_ipv4.c .data = &init_net.ipv4.sysctl_tcp_mtu_probe_floor, ipv4 833 net/ipv4/sysctl_net_ipv4.c .data = &init_net.ipv4.sysctl_tcp_probe_threshold, ipv4 840 net/ipv4/sysctl_net_ipv4.c .data = &init_net.ipv4.sysctl_tcp_probe_interval, ipv4 848 net/ipv4/sysctl_net_ipv4.c .data = &init_net.ipv4.sysctl_igmp_llm_reports, ipv4 855 net/ipv4/sysctl_net_ipv4.c .data = &init_net.ipv4.sysctl_igmp_max_memberships, ipv4 862 net/ipv4/sysctl_net_ipv4.c .data = &init_net.ipv4.sysctl_igmp_max_msf, ipv4 870 net/ipv4/sysctl_net_ipv4.c .data = &init_net.ipv4.sysctl_igmp_qrv, ipv4 879 net/ipv4/sysctl_net_ipv4.c .data = &init_net.ipv4.tcp_congestion_control, ipv4 886 net/ipv4/sysctl_net_ipv4.c .data = &init_net.ipv4.sysctl_tcp_keepalive_time, ipv4 893 net/ipv4/sysctl_net_ipv4.c .data = &init_net.ipv4.sysctl_tcp_keepalive_probes, ipv4 900 net/ipv4/sysctl_net_ipv4.c .data = &init_net.ipv4.sysctl_tcp_keepalive_intvl, ipv4 907 net/ipv4/sysctl_net_ipv4.c .data = &init_net.ipv4.sysctl_tcp_syn_retries, ipv4 916 net/ipv4/sysctl_net_ipv4.c .data = &init_net.ipv4.sysctl_tcp_synack_retries, ipv4 924 net/ipv4/sysctl_net_ipv4.c .data = &init_net.ipv4.sysctl_tcp_syncookies, ipv4 932 net/ipv4/sysctl_net_ipv4.c .data = &init_net.ipv4.sysctl_tcp_reordering, ipv4 939 net/ipv4/sysctl_net_ipv4.c .data = &init_net.ipv4.sysctl_tcp_retries1, ipv4 947 net/ipv4/sysctl_net_ipv4.c .data = &init_net.ipv4.sysctl_tcp_retries2, ipv4 954 net/ipv4/sysctl_net_ipv4.c .data = &init_net.ipv4.sysctl_tcp_orphan_retries, ipv4 961 net/ipv4/sysctl_net_ipv4.c .data = &init_net.ipv4.sysctl_tcp_fin_timeout, ipv4 968 net/ipv4/sysctl_net_ipv4.c .data = &init_net.ipv4.sysctl_tcp_notsent_lowat, ipv4 975 net/ipv4/sysctl_net_ipv4.c .data = &init_net.ipv4.sysctl_tcp_tw_reuse, ipv4 984 net/ipv4/sysctl_net_ipv4.c .data = &init_net.ipv4.tcp_death_row.sysctl_max_tw_buckets, ipv4 991 net/ipv4/sysctl_net_ipv4.c .data = &init_net.ipv4.sysctl_max_syn_backlog, ipv4 998 net/ipv4/sysctl_net_ipv4.c .data = &init_net.ipv4.sysctl_tcp_fastopen, ipv4 1006 net/ipv4/sysctl_net_ipv4.c .data = &init_net.ipv4.sysctl_tcp_fastopen, ipv4 1017 net/ipv4/sysctl_net_ipv4.c .data = &init_net.ipv4.sysctl_tcp_fastopen_blackhole_timeout, ipv4 1026 net/ipv4/sysctl_net_ipv4.c .data = &init_net.ipv4.sysctl_fib_multipath_use_neigh, ipv4 1035 net/ipv4/sysctl_net_ipv4.c .data = &init_net.ipv4.sysctl_fib_multipath_hash_policy, ipv4 1046 net/ipv4/sysctl_net_ipv4.c .data = &init_net.ipv4.sysctl_ip_prot_sock, ipv4 1053 net/ipv4/sysctl_net_ipv4.c .data = &init_net.ipv4.sysctl_udp_l3mdev_accept, ipv4 1063 net/ipv4/sysctl_net_ipv4.c .data = &init_net.ipv4.sysctl_tcp_sack, ipv4 1070 net/ipv4/sysctl_net_ipv4.c .data = &init_net.ipv4.sysctl_tcp_window_scaling, ipv4 1077 net/ipv4/sysctl_net_ipv4.c .data = &init_net.ipv4.sysctl_tcp_timestamps, ipv4 1084 net/ipv4/sysctl_net_ipv4.c .data = &init_net.ipv4.sysctl_tcp_early_retrans, ipv4 1093 net/ipv4/sysctl_net_ipv4.c .data = &init_net.ipv4.sysctl_tcp_recovery, ipv4 1100 net/ipv4/sysctl_net_ipv4.c .data = &init_net.ipv4.sysctl_tcp_thin_linear_timeouts, ipv4 1107 net/ipv4/sysctl_net_ipv4.c .data = &init_net.ipv4.sysctl_tcp_slow_start_after_idle, ipv4 1114 net/ipv4/sysctl_net_ipv4.c .data = &init_net.ipv4.sysctl_tcp_retrans_collapse, ipv4 1121 net/ipv4/sysctl_net_ipv4.c .data = &init_net.ipv4.sysctl_tcp_stdurg, ipv4 1128 net/ipv4/sysctl_net_ipv4.c .data = &init_net.ipv4.sysctl_tcp_rfc1337, ipv4 1135 net/ipv4/sysctl_net_ipv4.c .data = &init_net.ipv4.sysctl_tcp_abort_on_overflow, ipv4 1142 net/ipv4/sysctl_net_ipv4.c .data = &init_net.ipv4.sysctl_tcp_fack, ipv4 1149 net/ipv4/sysctl_net_ipv4.c .data = &init_net.ipv4.sysctl_tcp_max_reordering, ipv4 1156 net/ipv4/sysctl_net_ipv4.c .data = &init_net.ipv4.sysctl_tcp_dsack, ipv4 1163 net/ipv4/sysctl_net_ipv4.c .data = &init_net.ipv4.sysctl_tcp_app_win, ipv4 1170 net/ipv4/sysctl_net_ipv4.c .data = &init_net.ipv4.sysctl_tcp_adv_win_scale, ipv4 1179 net/ipv4/sysctl_net_ipv4.c .data = &init_net.ipv4.sysctl_tcp_frto, ipv4 1186 net/ipv4/sysctl_net_ipv4.c .data = &init_net.ipv4.sysctl_tcp_nometrics_save, ipv4 1193 net/ipv4/sysctl_net_ipv4.c .data = &init_net.ipv4.sysctl_tcp_moderate_rcvbuf, ipv4 1200 net/ipv4/sysctl_net_ipv4.c .data = &init_net.ipv4.sysctl_tcp_tso_win_divisor, ipv4 1207 net/ipv4/sysctl_net_ipv4.c .data = &init_net.ipv4.sysctl_tcp_workaround_signed_windows, ipv4 1214 net/ipv4/sysctl_net_ipv4.c .data = &init_net.ipv4.sysctl_tcp_limit_output_bytes, ipv4 1221 net/ipv4/sysctl_net_ipv4.c .data = &init_net.ipv4.sysctl_tcp_challenge_ack_limit, ipv4 1228 net/ipv4/sysctl_net_ipv4.c .data = &init_net.ipv4.sysctl_tcp_min_tso_segs, ipv4 1237 net/ipv4/sysctl_net_ipv4.c .data = &init_net.ipv4.sysctl_tcp_min_rtt_wlen, ipv4 1246 net/ipv4/sysctl_net_ipv4.c .data = &init_net.ipv4.sysctl_tcp_autocorking, ipv4 1255 net/ipv4/sysctl_net_ipv4.c .data = &init_net.ipv4.sysctl_tcp_invalid_ratelimit, ipv4 1262 net/ipv4/sysctl_net_ipv4.c .data = &init_net.ipv4.sysctl_tcp_pacing_ss_ratio, ipv4 1271 net/ipv4/sysctl_net_ipv4.c .data = &init_net.ipv4.sysctl_tcp_pacing_ca_ratio, ipv4 1280 net/ipv4/sysctl_net_ipv4.c .data = &init_net.ipv4.sysctl_tcp_wmem, ipv4 1281 net/ipv4/sysctl_net_ipv4.c .maxlen = sizeof(init_net.ipv4.sysctl_tcp_wmem), ipv4 1288 net/ipv4/sysctl_net_ipv4.c .data = &init_net.ipv4.sysctl_tcp_rmem, ipv4 1289 net/ipv4/sysctl_net_ipv4.c .maxlen = sizeof(init_net.ipv4.sysctl_tcp_rmem), ipv4 1296 net/ipv4/sysctl_net_ipv4.c .data = &init_net.ipv4.sysctl_tcp_comp_sack_delay_ns, ipv4 1303 net/ipv4/sysctl_net_ipv4.c .data = &init_net.ipv4.sysctl_tcp_comp_sack_nr, ipv4 1312 net/ipv4/sysctl_net_ipv4.c .data = &init_net.ipv4.sysctl_udp_rmem_min, ipv4 1313 net/ipv4/sysctl_net_ipv4.c .maxlen = sizeof(init_net.ipv4.sysctl_udp_rmem_min), ipv4 1320 net/ipv4/sysctl_net_ipv4.c .data = &init_net.ipv4.sysctl_udp_wmem_min, ipv4 1321 net/ipv4/sysctl_net_ipv4.c .maxlen = sizeof(init_net.ipv4.sysctl_udp_wmem_min), ipv4 1346 net/ipv4/sysctl_net_ipv4.c net->ipv4.ipv4_hdr = register_net_sysctl(net, "net/ipv4", table); ipv4 1347 net/ipv4/sysctl_net_ipv4.c if (!net->ipv4.ipv4_hdr) ipv4 1350 net/ipv4/sysctl_net_ipv4.c net->ipv4.sysctl_local_reserved_ports = kzalloc(65536 / 8, GFP_KERNEL); ipv4 1351 net/ipv4/sysctl_net_ipv4.c if (!net->ipv4.sysctl_local_reserved_ports) ipv4 1357 net/ipv4/sysctl_net_ipv4.c unregister_net_sysctl_table(net->ipv4.ipv4_hdr); ipv4 1369 net/ipv4/sysctl_net_ipv4.c kfree(net->ipv4.sysctl_local_reserved_ports); ipv4 1370 net/ipv4/sysctl_net_ipv4.c table = net->ipv4.ipv4_hdr->ctl_table_arg; ipv4 1371 net/ipv4/sysctl_net_ipv4.c unregister_net_sysctl_table(net->ipv4.ipv4_hdr); ipv4 440 net/ipv4/tcp.c tp->reordering = sock_net(sk)->ipv4.sysctl_tcp_reordering; ipv4 453 net/ipv4/tcp.c WRITE_ONCE(sk->sk_sndbuf, sock_net(sk)->ipv4.sysctl_tcp_wmem[1]); ipv4 454 net/ipv4/tcp.c WRITE_ONCE(sk->sk_rcvbuf, sock_net(sk)->ipv4.sysctl_tcp_rmem[1]); ipv4 698 net/ipv4/tcp.c sock_net(sk)->ipv4.sysctl_tcp_autocorking && ipv4 1148 net/ipv4/tcp.c if (!(sock_net(sk)->ipv4.sysctl_tcp_fastopen & TFO_CLIENT_ENABLE) || ipv4 1708 net/ipv4/tcp.c cap = sock_net(sk)->ipv4.sysctl_tcp_rmem[2] >> 1; ipv4 3044 net/ipv4/tcp.c else if (val > net->ipv4.sysctl_tcp_fin_timeout / HZ) ipv4 3117 net/ipv4/tcp.c } else if (net->ipv4.sysctl_tcp_fastopen & TFO_CLIENT_ENABLE) { ipv4 3451 net/ipv4/tcp.c val = icsk->icsk_syn_retries ? : net->ipv4.sysctl_tcp_syn_retries; ipv4 3456 net/ipv4/tcp.c val = (val ? : net->ipv4.sysctl_tcp_fin_timeout) / HZ; ipv4 4023 net/ipv4/tcp.c init_net.ipv4.sysctl_tcp_wmem[0] = SK_MEM_QUANTUM; ipv4 4024 net/ipv4/tcp.c init_net.ipv4.sysctl_tcp_wmem[1] = 16*1024; ipv4 4025 net/ipv4/tcp.c init_net.ipv4.sysctl_tcp_wmem[2] = max(64*1024, max_wshare); ipv4 4027 net/ipv4/tcp.c init_net.ipv4.sysctl_tcp_rmem[0] = SK_MEM_QUANTUM; ipv4 4028 net/ipv4/tcp.c init_net.ipv4.sysctl_tcp_rmem[1] = 131072; ipv4 4029 net/ipv4/tcp.c init_net.ipv4.sysctl_tcp_rmem[2] = max(131072, max_rshare); ipv4 164 net/ipv4/tcp_cong.c ca = rcu_dereference(net->ipv4.tcp_congestion_control); ipv4 228 net/ipv4/tcp_cong.c prev = xchg(&net->ipv4.tcp_congestion_control, ca); ipv4 269 net/ipv4/tcp_cong.c ca = rcu_dereference(net->ipv4.tcp_congestion_control); ipv4 19 net/ipv4/tcp_fastopen.c ctxt = rcu_dereference(net->ipv4.tcp_fastopen_ctx); ipv4 58 net/ipv4/tcp_fastopen.c spin_lock(&net->ipv4.tcp_fastopen_ctx_lock); ipv4 60 net/ipv4/tcp_fastopen.c ctxt = rcu_dereference_protected(net->ipv4.tcp_fastopen_ctx, ipv4 61 net/ipv4/tcp_fastopen.c lockdep_is_held(&net->ipv4.tcp_fastopen_ctx_lock)); ipv4 62 net/ipv4/tcp_fastopen.c rcu_assign_pointer(net->ipv4.tcp_fastopen_ctx, NULL); ipv4 63 net/ipv4/tcp_fastopen.c spin_unlock(&net->ipv4.tcp_fastopen_ctx_lock); ipv4 92 net/ipv4/tcp_fastopen.c spin_lock(&net->ipv4.tcp_fastopen_ctx_lock); ipv4 96 net/ipv4/tcp_fastopen.c lockdep_is_held(&net->ipv4.tcp_fastopen_ctx_lock)); ipv4 99 net/ipv4/tcp_fastopen.c octx = rcu_dereference_protected(net->ipv4.tcp_fastopen_ctx, ipv4 100 net/ipv4/tcp_fastopen.c lockdep_is_held(&net->ipv4.tcp_fastopen_ctx_lock)); ipv4 101 net/ipv4/tcp_fastopen.c rcu_assign_pointer(net->ipv4.tcp_fastopen_ctx, ctx); ipv4 103 net/ipv4/tcp_fastopen.c spin_unlock(&net->ipv4.tcp_fastopen_ctx_lock); ipv4 329 net/ipv4/tcp_fastopen.c return (sock_net(sk)->ipv4.sysctl_tcp_fastopen & flag) || ipv4 344 net/ipv4/tcp_fastopen.c int tcp_fastopen = sock_net(sk)->ipv4.sysctl_tcp_fastopen; ipv4 484 net/ipv4/tcp_fastopen.c atomic_inc(&net->ipv4.tfo_active_disable_times); ipv4 485 net/ipv4/tcp_fastopen.c net->ipv4.tfo_active_disable_stamp = jiffies; ipv4 495 net/ipv4/tcp_fastopen.c unsigned int tfo_bh_timeout = sock_net(sk)->ipv4.sysctl_tcp_fastopen_blackhole_timeout; ipv4 496 net/ipv4/tcp_fastopen.c int tfo_da_times = atomic_read(&sock_net(sk)->ipv4.tfo_active_disable_times); ipv4 506 net/ipv4/tcp_fastopen.c if (time_before(jiffies, sock_net(sk)->ipv4.tfo_active_disable_stamp + timeout)) ipv4 540 net/ipv4/tcp_fastopen.c atomic_read(&sock_net(sk)->ipv4.tfo_active_disable_times)) { ipv4 543 net/ipv4/tcp_fastopen.c atomic_set(&sock_net(sk)->ipv4.tfo_active_disable_times, 0); ipv4 363 net/ipv4/tcp_input.c min(sndmem, sock_net(sk)->ipv4.sysctl_tcp_wmem[2])); ipv4 397 net/ipv4/tcp_input.c int window = tcp_win_from_space(sk, sock_net(sk)->ipv4.sysctl_tcp_rmem[2]) >> 1; ipv4 441 net/ipv4/tcp_input.c int tcp_app_win = sock_net(sk)->ipv4.sysctl_tcp_app_win; ipv4 483 net/ipv4/tcp_input.c if (sk->sk_rcvbuf < net->ipv4.sysctl_tcp_rmem[2] && ipv4 489 net/ipv4/tcp_input.c net->ipv4.sysctl_tcp_rmem[2])); ipv4 630 net/ipv4/tcp_input.c if (sock_net(sk)->ipv4.sysctl_tcp_moderate_rcvbuf && ipv4 651 net/ipv4/tcp_input.c sock_net(sk)->ipv4.sysctl_tcp_rmem[2]); ipv4 816 net/ipv4/tcp_input.c rate *= sock_net(sk)->ipv4.sysctl_tcp_pacing_ss_ratio; ipv4 818 net/ipv4/tcp_input.c rate *= sock_net(sk)->ipv4.sysctl_tcp_pacing_ca_ratio; ipv4 906 net/ipv4/tcp_input.c sock_net(sk)->ipv4.sysctl_tcp_max_reordering); ipv4 1887 net/ipv4/tcp_input.c sock_net(sk)->ipv4.sysctl_tcp_max_reordering); ipv4 1951 net/ipv4/tcp_input.c return sock_net(sk)->ipv4.sysctl_tcp_recovery & TCP_RACK_LOSS_DETECTION; ipv4 2016 net/ipv4/tcp_input.c tp->sacked_out >= net->ipv4.sysctl_tcp_reordering) ipv4 2018 net/ipv4/tcp_input.c net->ipv4.sysctl_tcp_reordering); ipv4 2027 net/ipv4/tcp_input.c tp->frto = net->ipv4.sysctl_tcp_frto && ipv4 2907 net/ipv4/tcp_input.c u32 wlen = sock_net(sk)->ipv4.sysctl_tcp_min_rtt_wlen * HZ; ipv4 3312 net/ipv4/tcp_input.c if (tcp_sk(sk)->reordering > sock_net(sk)->ipv4.sysctl_tcp_reordering) ipv4 3424 net/ipv4/tcp_input.c if (0 <= elapsed && elapsed < net->ipv4.sysctl_tcp_invalid_ratelimit) { ipv4 3472 net/ipv4/tcp_input.c u32 ack_limit = net->ipv4.sysctl_tcp_challenge_ack_limit; ipv4 3883 net/ipv4/tcp_input.c !estab && net->ipv4.sysctl_tcp_window_scaling) { ipv4 3899 net/ipv4/tcp_input.c (!estab && net->ipv4.sysctl_tcp_timestamps))) { ipv4 3907 net/ipv4/tcp_input.c !estab && net->ipv4.sysctl_tcp_sack) { ipv4 4236 net/ipv4/tcp_input.c if (tcp_is_sack(tp) && sock_net(sk)->ipv4.sysctl_tcp_dsack) { ipv4 4282 net/ipv4/tcp_input.c if (tcp_is_sack(tp) && sock_net(sk)->ipv4.sysctl_tcp_dsack) { ipv4 5259 net/ipv4/tcp_input.c tp->compressed_ack >= sock_net(sk)->ipv4.sysctl_tcp_comp_sack_nr) ipv4 5282 net/ipv4/tcp_input.c delay = min_t(unsigned long, sock_net(sk)->ipv4.sysctl_tcp_comp_sack_delay_ns, ipv4 5313 net/ipv4/tcp_input.c if (ptr && !sock_net(sk)->ipv4.sysctl_tcp_stdurg) ipv4 6423 net/ipv4/tcp_input.c ecn_ok = net->ipv4.sysctl_tcp_ecn || ecn_ok_dst; ipv4 6494 net/ipv4/tcp_input.c if (net->ipv4.sysctl_tcp_syncookies) { ipv4 6503 net/ipv4/tcp_input.c net->ipv4.sysctl_tcp_syncookies != 2 && ipv4 6538 net/ipv4/tcp_input.c if (sock_net(sk)->ipv4.sysctl_tcp_syncookies != 2 && ipv4 6577 net/ipv4/tcp_input.c if ((net->ipv4.sysctl_tcp_syncookies == 2 || ipv4 6629 net/ipv4/tcp_input.c if (!net->ipv4.sysctl_tcp_syncookies && ipv4 6630 net/ipv4/tcp_input.c (net->ipv4.sysctl_max_syn_backlog - inet_csk_reqsk_queue_len(sk) < ipv4 6631 net/ipv4/tcp_input.c (net->ipv4.sysctl_max_syn_backlog >> 2)) && ipv4 111 net/ipv4/tcp_ipv4.c int reuse = sock_net(sk)->ipv4.sysctl_tcp_tw_reuse; ipv4 210 net/ipv4/tcp_ipv4.c struct inet_timewait_death_row *tcp_death_row = &sock_net(sk)->ipv4.tcp_death_row; ipv4 773 net/ipv4/tcp_ipv4.c ctl_sk = this_cpu_read(*net->ipv4.tcp_sk); ipv4 871 net/ipv4/tcp_ipv4.c ctl_sk = this_cpu_read(*net->ipv4.tcp_sk); ipv4 2603 net/ipv4/tcp_ipv4.c .sysctl_wmem_offset = offsetof(struct net, ipv4.sysctl_tcp_wmem), ipv4 2604 net/ipv4/tcp_ipv4.c .sysctl_rmem_offset = offsetof(struct net, ipv4.sysctl_tcp_rmem), ipv4 2624 net/ipv4/tcp_ipv4.c if (net->ipv4.tcp_congestion_control) ipv4 2625 net/ipv4/tcp_ipv4.c module_put(net->ipv4.tcp_congestion_control->owner); ipv4 2628 net/ipv4/tcp_ipv4.c inet_ctl_sock_destroy(*per_cpu_ptr(net->ipv4.tcp_sk, cpu)); ipv4 2629 net/ipv4/tcp_ipv4.c free_percpu(net->ipv4.tcp_sk); ipv4 2636 net/ipv4/tcp_ipv4.c net->ipv4.tcp_sk = alloc_percpu(struct sock *); ipv4 2637 net/ipv4/tcp_ipv4.c if (!net->ipv4.tcp_sk) ipv4 2654 net/ipv4/tcp_ipv4.c *per_cpu_ptr(net->ipv4.tcp_sk, cpu) = sk; ipv4 2657 net/ipv4/tcp_ipv4.c net->ipv4.sysctl_tcp_ecn = 2; ipv4 2658 net/ipv4/tcp_ipv4.c net->ipv4.sysctl_tcp_ecn_fallback = 1; ipv4 2660 net/ipv4/tcp_ipv4.c net->ipv4.sysctl_tcp_base_mss = TCP_BASE_MSS; ipv4 2661 net/ipv4/tcp_ipv4.c net->ipv4.sysctl_tcp_min_snd_mss = TCP_MIN_SND_MSS; ipv4 2662 net/ipv4/tcp_ipv4.c net->ipv4.sysctl_tcp_probe_threshold = TCP_PROBE_THRESHOLD; ipv4 2663 net/ipv4/tcp_ipv4.c net->ipv4.sysctl_tcp_probe_interval = TCP_PROBE_INTERVAL; ipv4 2664 net/ipv4/tcp_ipv4.c net->ipv4.sysctl_tcp_mtu_probe_floor = TCP_MIN_SND_MSS; ipv4 2666 net/ipv4/tcp_ipv4.c net->ipv4.sysctl_tcp_keepalive_time = TCP_KEEPALIVE_TIME; ipv4 2667 net/ipv4/tcp_ipv4.c net->ipv4.sysctl_tcp_keepalive_probes = TCP_KEEPALIVE_PROBES; ipv4 2668 net/ipv4/tcp_ipv4.c net->ipv4.sysctl_tcp_keepalive_intvl = TCP_KEEPALIVE_INTVL; ipv4 2670 net/ipv4/tcp_ipv4.c net->ipv4.sysctl_tcp_syn_retries = TCP_SYN_RETRIES; ipv4 2671 net/ipv4/tcp_ipv4.c net->ipv4.sysctl_tcp_synack_retries = TCP_SYNACK_RETRIES; ipv4 2672 net/ipv4/tcp_ipv4.c net->ipv4.sysctl_tcp_syncookies = 1; ipv4 2673 net/ipv4/tcp_ipv4.c net->ipv4.sysctl_tcp_reordering = TCP_FASTRETRANS_THRESH; ipv4 2674 net/ipv4/tcp_ipv4.c net->ipv4.sysctl_tcp_retries1 = TCP_RETR1; ipv4 2675 net/ipv4/tcp_ipv4.c net->ipv4.sysctl_tcp_retries2 = TCP_RETR2; ipv4 2676 net/ipv4/tcp_ipv4.c net->ipv4.sysctl_tcp_orphan_retries = 0; ipv4 2677 net/ipv4/tcp_ipv4.c net->ipv4.sysctl_tcp_fin_timeout = TCP_FIN_TIMEOUT; ipv4 2678 net/ipv4/tcp_ipv4.c net->ipv4.sysctl_tcp_notsent_lowat = UINT_MAX; ipv4 2679 net/ipv4/tcp_ipv4.c net->ipv4.sysctl_tcp_tw_reuse = 2; ipv4 2682 net/ipv4/tcp_ipv4.c net->ipv4.tcp_death_row.sysctl_max_tw_buckets = cnt / 2; ipv4 2683 net/ipv4/tcp_ipv4.c net->ipv4.tcp_death_row.hashinfo = &tcp_hashinfo; ipv4 2685 net/ipv4/tcp_ipv4.c net->ipv4.sysctl_max_syn_backlog = max(128, cnt / 128); ipv4 2686 net/ipv4/tcp_ipv4.c net->ipv4.sysctl_tcp_sack = 1; ipv4 2687 net/ipv4/tcp_ipv4.c net->ipv4.sysctl_tcp_window_scaling = 1; ipv4 2688 net/ipv4/tcp_ipv4.c net->ipv4.sysctl_tcp_timestamps = 1; ipv4 2689 net/ipv4/tcp_ipv4.c net->ipv4.sysctl_tcp_early_retrans = 3; ipv4 2690 net/ipv4/tcp_ipv4.c net->ipv4.sysctl_tcp_recovery = TCP_RACK_LOSS_DETECTION; ipv4 2691 net/ipv4/tcp_ipv4.c net->ipv4.sysctl_tcp_slow_start_after_idle = 1; /* By default, RFC2861 behavior. */ ipv4 2692 net/ipv4/tcp_ipv4.c net->ipv4.sysctl_tcp_retrans_collapse = 1; ipv4 2693 net/ipv4/tcp_ipv4.c net->ipv4.sysctl_tcp_max_reordering = 300; ipv4 2694 net/ipv4/tcp_ipv4.c net->ipv4.sysctl_tcp_dsack = 1; ipv4 2695 net/ipv4/tcp_ipv4.c net->ipv4.sysctl_tcp_app_win = 31; ipv4 2696 net/ipv4/tcp_ipv4.c net->ipv4.sysctl_tcp_adv_win_scale = 1; ipv4 2697 net/ipv4/tcp_ipv4.c net->ipv4.sysctl_tcp_frto = 2; ipv4 2698 net/ipv4/tcp_ipv4.c net->ipv4.sysctl_tcp_moderate_rcvbuf = 1; ipv4 2703 net/ipv4/tcp_ipv4.c net->ipv4.sysctl_tcp_tso_win_divisor = 3; ipv4 2705 net/ipv4/tcp_ipv4.c net->ipv4.sysctl_tcp_limit_output_bytes = 16 * 65536; ipv4 2707 net/ipv4/tcp_ipv4.c net->ipv4.sysctl_tcp_challenge_ack_limit = 1000; ipv4 2708 net/ipv4/tcp_ipv4.c net->ipv4.sysctl_tcp_min_tso_segs = 2; ipv4 2709 net/ipv4/tcp_ipv4.c net->ipv4.sysctl_tcp_min_rtt_wlen = 300; ipv4 2710 net/ipv4/tcp_ipv4.c net->ipv4.sysctl_tcp_autocorking = 1; ipv4 2711 net/ipv4/tcp_ipv4.c net->ipv4.sysctl_tcp_invalid_ratelimit = HZ/2; ipv4 2712 net/ipv4/tcp_ipv4.c net->ipv4.sysctl_tcp_pacing_ss_ratio = 200; ipv4 2713 net/ipv4/tcp_ipv4.c net->ipv4.sysctl_tcp_pacing_ca_ratio = 120; ipv4 2715 net/ipv4/tcp_ipv4.c memcpy(net->ipv4.sysctl_tcp_rmem, ipv4 2716 net/ipv4/tcp_ipv4.c init_net.ipv4.sysctl_tcp_rmem, ipv4 2717 net/ipv4/tcp_ipv4.c sizeof(init_net.ipv4.sysctl_tcp_rmem)); ipv4 2718 net/ipv4/tcp_ipv4.c memcpy(net->ipv4.sysctl_tcp_wmem, ipv4 2719 net/ipv4/tcp_ipv4.c init_net.ipv4.sysctl_tcp_wmem, ipv4 2720 net/ipv4/tcp_ipv4.c sizeof(init_net.ipv4.sysctl_tcp_wmem)); ipv4 2722 net/ipv4/tcp_ipv4.c net->ipv4.sysctl_tcp_comp_sack_delay_ns = NSEC_PER_MSEC; ipv4 2723 net/ipv4/tcp_ipv4.c net->ipv4.sysctl_tcp_comp_sack_nr = 44; ipv4 2724 net/ipv4/tcp_ipv4.c net->ipv4.sysctl_tcp_fastopen = TFO_CLIENT_ENABLE; ipv4 2725 net/ipv4/tcp_ipv4.c spin_lock_init(&net->ipv4.tcp_fastopen_ctx_lock); ipv4 2726 net/ipv4/tcp_ipv4.c net->ipv4.sysctl_tcp_fastopen_blackhole_timeout = 60 * 60; ipv4 2727 net/ipv4/tcp_ipv4.c atomic_set(&net->ipv4.tfo_active_disable_times, 0); ipv4 2731 net/ipv4/tcp_ipv4.c try_module_get(init_net.ipv4.tcp_congestion_control->owner)) ipv4 2732 net/ipv4/tcp_ipv4.c net->ipv4.tcp_congestion_control = init_net.ipv4.tcp_congestion_control; ipv4 2734 net/ipv4/tcp_ipv4.c net->ipv4.tcp_congestion_control = &tcp_reno; ipv4 332 net/ipv4/tcp_metrics.c if (net->ipv4.sysctl_tcp_nometrics_save || !dst) ipv4 428 net/ipv4/tcp_metrics.c tp->reordering != net->ipv4.sysctl_tcp_reordering) ipv4 183 net/ipv4/tcp_minisocks.c if (twsk_net(tw)->ipv4.sysctl_tcp_rfc1337 == 0) { ipv4 258 net/ipv4/tcp_minisocks.c struct inet_timewait_death_row *tcp_death_row = &sock_net(sk)->ipv4.tcp_death_row; ipv4 781 net/ipv4/tcp_minisocks.c if (!sock_net(sk)->ipv4.sysctl_tcp_abort_on_overflow) { ipv4 231 net/ipv4/tcp_output.c if (sock_net(sk)->ipv4.sysctl_tcp_workaround_signed_windows) ipv4 242 net/ipv4/tcp_output.c space = max_t(u32, space, sock_net(sk)->ipv4.sysctl_tcp_rmem[2]); ipv4 286 net/ipv4/tcp_output.c sock_net(sk)->ipv4.sysctl_tcp_workaround_signed_windows) ipv4 325 net/ipv4/tcp_output.c bool use_ecn = sock_net(sk)->ipv4.sysctl_tcp_ecn == 1 || ipv4 347 net/ipv4/tcp_output.c if (sock_net(sk)->ipv4.sysctl_tcp_ecn_fallback) ipv4 622 net/ipv4/tcp_output.c if (likely(sock_net(sk)->ipv4.sysctl_tcp_timestamps && !*md5)) { ipv4 628 net/ipv4/tcp_output.c if (likely(sock_net(sk)->ipv4.sysctl_tcp_window_scaling)) { ipv4 633 net/ipv4/tcp_output.c if (likely(sock_net(sk)->ipv4.sysctl_tcp_sack)) { ipv4 1494 net/ipv4/tcp_output.c mss_now = max(mss_now, sock_net(sk)->ipv4.sysctl_tcp_min_snd_mss); ipv4 1536 net/ipv4/tcp_output.c icsk->icsk_mtup.enabled = net->ipv4.sysctl_tcp_mtu_probing > 1; ipv4 1539 net/ipv4/tcp_output.c icsk->icsk_mtup.search_low = tcp_mss_to_mtu(sk, net->ipv4.sysctl_tcp_base_mss); ipv4 1670 net/ipv4/tcp_output.c if (sock_net(sk)->ipv4.sysctl_tcp_slow_start_after_idle && ipv4 1758 net/ipv4/tcp_output.c sock_net(sk)->ipv4.sysctl_tcp_min_tso_segs; ipv4 1983 net/ipv4/tcp_output.c win_divisor = READ_ONCE(sock_net(sk)->ipv4.sysctl_tcp_tso_win_divisor); ipv4 2049 net/ipv4/tcp_output.c interval = net->ipv4.sysctl_tcp_probe_interval; ipv4 2131 net/ipv4/tcp_output.c interval < net->ipv4.sysctl_tcp_probe_threshold) { ipv4 2273 net/ipv4/tcp_output.c sock_net(sk)->ipv4.sysctl_tcp_limit_output_bytes); ipv4 2504 net/ipv4/tcp_output.c early_retrans = sock_net(sk)->ipv4.sysctl_tcp_early_retrans; ipv4 2863 net/ipv4/tcp_output.c if (!sock_net(sk)->ipv4.sysctl_tcp_retrans_collapse) ipv4 3399 net/ipv4/tcp_output.c if (sock_net(sk)->ipv4.sysctl_tcp_timestamps) ipv4 3435 net/ipv4/tcp_output.c sock_net(sk)->ipv4.sysctl_tcp_window_scaling, ipv4 3835 net/ipv4/tcp_output.c if (icsk->icsk_backoff < net->ipv4.sysctl_tcp_retries2) ipv4 36 net/ipv4/tcp_recovery.c !(sock_net(sk)->ipv4.sysctl_tcp_recovery & TCP_RACK_NO_DUPTHRESH)) ipv4 206 net/ipv4/tcp_recovery.c if (sock_net(sk)->ipv4.sysctl_tcp_recovery & TCP_RACK_STATIC_REO_WND || ipv4 128 net/ipv4/tcp_timer.c int retries = sock_net(sk)->ipv4.sysctl_tcp_orphan_retries; /* May be zero. */ ipv4 148 net/ipv4/tcp_timer.c if (!net->ipv4.sysctl_tcp_mtu_probing) ipv4 156 net/ipv4/tcp_timer.c mss = min(net->ipv4.sysctl_tcp_base_mss, mss); ipv4 157 net/ipv4/tcp_timer.c mss = max(mss, net->ipv4.sysctl_tcp_mtu_probe_floor); ipv4 158 net/ipv4/tcp_timer.c mss = max(mss, net->ipv4.sysctl_tcp_min_snd_mss); ipv4 227 net/ipv4/tcp_timer.c retry_until = icsk->icsk_syn_retries ? : net->ipv4.sysctl_tcp_syn_retries; ipv4 230 net/ipv4/tcp_timer.c if (retransmits_timed_out(sk, net->ipv4.sysctl_tcp_retries1, 0)) { ipv4 239 net/ipv4/tcp_timer.c retry_until = net->ipv4.sysctl_tcp_retries2; ipv4 366 net/ipv4/tcp_timer.c max_probes = sock_net(sk)->ipv4.sysctl_tcp_retries2; ipv4 393 net/ipv4/tcp_timer.c sock_net(sk)->ipv4.sysctl_tcp_synack_retries + 1; /* add one more retry for fastopen */ ipv4 554 net/ipv4/tcp_timer.c (tp->thin_lto || net->ipv4.sysctl_tcp_thin_linear_timeouts) && ipv4 565 net/ipv4/tcp_timer.c if (retransmits_timed_out(sk, net->ipv4.sysctl_tcp_retries1 + 1, 0)) ipv4 2797 net/ipv4/udp.c .sysctl_wmem_offset = offsetof(struct net, ipv4.sysctl_udp_wmem_min), ipv4 2798 net/ipv4/udp.c .sysctl_rmem_offset = offsetof(struct net, ipv4.sysctl_udp_rmem_min), ipv4 3038 net/ipv4/udp.c net->ipv4.sysctl_udp_rmem_min = SK_MEM_QUANTUM; ipv4 3039 net/ipv4/udp.c net->ipv4.sysctl_udp_wmem_min = SK_MEM_QUANTUM; ipv4 3042 net/ipv4/udp.c net->ipv4.sysctl_udp_l3mdev_accept = 0; ipv4 189 net/ipv4/xfrm4_policy.c net->ipv4.xfrm4_hdr = hdr; ipv4 203 net/ipv4/xfrm4_policy.c if (!net->ipv4.xfrm4_hdr) ipv4 206 net/ipv4/xfrm4_policy.c table = net->ipv4.xfrm4_hdr->ctl_table_arg; ipv4 207 net/ipv4/xfrm4_policy.c unregister_net_sysctl_table(net->ipv4.xfrm4_hdr); ipv4 225 net/ipv6/af_inet6.c if (net->ipv4.sysctl_ip_no_pmtu_disc) ipv4 54 net/ipv6/ip6_input.c if (net->ipv4.sysctl_ip_early_demux && !skb_dst(skb) && skb->sk == NULL) { ipv4 28 net/ipv6/output_core.c if (unlikely(siphash_key_is_zero(&net->ipv4.ip_id_key))) ipv4 29 net/ipv6/output_core.c get_random_bytes(&net->ipv4.ip_id_key, ipv4 30 net/ipv6/output_core.c sizeof(net->ipv4.ip_id_key)); ipv4 32 net/ipv6/output_core.c hash = siphash(&combined, sizeof(combined), &net->ipv4.ip_id_key); ipv4 144 net/ipv6/syncookies.c if (!sock_net(sk)->ipv4.sysctl_tcp_syncookies || !th->ack || th->rst) ipv4 158 net/ipv6/tcp_ipv6.c struct inet_timewait_death_row *tcp_death_row = &sock_net(sk)->ipv4.tcp_death_row; ipv4 2037 net/ipv6/tcp_ipv6.c .sysctl_wmem_offset = offsetof(struct net, ipv4.sysctl_tcp_wmem), ipv4 2038 net/ipv6/tcp_ipv6.c .sysctl_rmem_offset = offsetof(struct net, ipv4.sysctl_tcp_rmem), ipv4 1675 net/ipv6/udp.c .sysctl_wmem_offset = offsetof(struct net, ipv4.sysctl_udp_wmem_min), ipv4 1676 net/ipv6/udp.c .sysctl_rmem_offset = offsetof(struct net, ipv4.sysctl_udp_rmem_min), ipv4 426 net/netfilter/nf_synproxy_core.c iph->ttl = net->ipv4.sysctl_ip_default_ttl; ipv4 196 net/netfilter/nft_payload.c NFT_OFFLOAD_MATCH(FLOW_DISSECTOR_KEY_IPV4_ADDRS, ipv4, src, ipv4 203 net/netfilter/nft_payload.c NFT_OFFLOAD_MATCH(FLOW_DISSECTOR_KEY_IPV4_ADDRS, ipv4, dst, ipv4 178 net/netfilter/nft_tunnel.c info->key.u.ipv4.src = nla_get_be32(tb[NFTA_TUNNEL_KEY_IP_SRC]); ipv4 180 net/netfilter/nft_tunnel.c info->key.u.ipv4.dst = nla_get_be32(tb[NFTA_TUNNEL_KEY_IP_DST]); ipv4 462 net/netfilter/nft_tunnel.c if (nla_put_in_addr(skb, NFTA_TUNNEL_KEY_IP_SRC, info->key.u.ipv4.src) < 0 || ipv4 463 net/netfilter/nft_tunnel.c nla_put_in_addr(skb, NFTA_TUNNEL_KEY_IP_DST, info->key.u.ipv4.dst) < 0) ipv4 468 net/openvswitch/actions.c flow_key->ipv4.addr.src = new_addr; ipv4 476 net/openvswitch/actions.c flow_key->ipv4.addr.dst = new_addr; ipv4 209 net/openvswitch/conntrack.c key->ipv4.ct_orig.src = orig->src.u3.ip; ipv4 210 net/openvswitch/conntrack.c key->ipv4.ct_orig.dst = orig->dst.u3.ip; ipv4 305 net/openvswitch/conntrack.c output->ipv4.ct_orig.src, ipv4 306 net/openvswitch/conntrack.c output->ipv4.ct_orig.dst, ipv4 823 net/openvswitch/conntrack.c key->ipv4.addr.src = ip_hdr(skb)->saddr; ipv4 845 net/openvswitch/conntrack.c key->ipv4.addr.dst = ip_hdr(skb)->daddr; ipv4 544 net/openvswitch/flow.c memset(&key->ipv4, 0, sizeof(key->ipv4)); ipv4 553 net/openvswitch/flow.c key->ipv4.addr.src = nh->saddr; ipv4 554 net/openvswitch/flow.c key->ipv4.addr.dst = nh->daddr; ipv4 631 net/openvswitch/flow.c memcpy(&key->ipv4.addr.src, arp->ar_sip, sizeof(key->ipv4.addr.src)); ipv4 632 net/openvswitch/flow.c memcpy(&key->ipv4.addr.dst, arp->ar_tip, sizeof(key->ipv4.addr.dst)); ipv4 633 net/openvswitch/flow.c ether_addr_copy(key->ipv4.arp.sha, arp->ar_sha); ipv4 634 net/openvswitch/flow.c ether_addr_copy(key->ipv4.arp.tha, arp->ar_tha); ipv4 637 net/openvswitch/flow.c memset(&key->ipv4, 0, sizeof(key->ipv4)); ipv4 119 net/openvswitch/flow.h } ipv4; ipv4 657 net/openvswitch/flow_netlink.c bool ttl = false, ipv4 = false, ipv6 = false; ipv4 688 net/openvswitch/flow_netlink.c SW_FLOW_KEY_PUT(match, tun_key.u.ipv4.src, ipv4 690 net/openvswitch/flow_netlink.c ipv4 = true; ipv4 693 net/openvswitch/flow_netlink.c SW_FLOW_KEY_PUT(match, tun_key.u.ipv4.dst, ipv4 695 net/openvswitch/flow_netlink.c ipv4 = true; ipv4 777 net/openvswitch/flow_netlink.c ipv4 = true; ipv4 799 net/openvswitch/flow_netlink.c if (ipv4 && ipv6) { ipv4 805 net/openvswitch/flow_netlink.c if (!ipv4 && !ipv6) { ipv4 809 net/openvswitch/flow_netlink.c if (ipv4) { ipv4 811 net/openvswitch/flow_netlink.c if (match->key->tun_key.u.ipv4.src || ipv4 812 net/openvswitch/flow_netlink.c match->key->tun_key.u.ipv4.dst || ipv4 821 net/openvswitch/flow_netlink.c } else if (!match->key->tun_key.u.ipv4.dst) { ipv4 873 net/openvswitch/flow_netlink.c if (output->u.ipv4.src && ipv4 875 net/openvswitch/flow_netlink.c output->u.ipv4.src)) ipv4 877 net/openvswitch/flow_netlink.c if (output->u.ipv4.dst && ipv4 879 net/openvswitch/flow_netlink.c output->u.ipv4.dst)) ipv4 1239 net/openvswitch/flow_netlink.c SW_FLOW_KEY_PUT(match, ipv4.ct_orig.src, ct->ipv4_src, is_mask); ipv4 1240 net/openvswitch/flow_netlink.c SW_FLOW_KEY_PUT(match, ipv4.ct_orig.dst, ct->ipv4_dst, is_mask); ipv4 1553 net/openvswitch/flow_netlink.c SW_FLOW_KEY_PUT(match, ipv4.addr.src, ipv4 1555 net/openvswitch/flow_netlink.c SW_FLOW_KEY_PUT(match, ipv4.addr.dst, ipv4 1608 net/openvswitch/flow_netlink.c SW_FLOW_KEY_PUT(match, ipv4.addr.src, ipv4 1610 net/openvswitch/flow_netlink.c SW_FLOW_KEY_PUT(match, ipv4.addr.dst, ipv4 1614 net/openvswitch/flow_netlink.c SW_FLOW_KEY_MEMCPY(match, ipv4.arp.sha, ipv4 1616 net/openvswitch/flow_netlink.c SW_FLOW_KEY_MEMCPY(match, ipv4.arp.tha, ipv4 1923 net/openvswitch/flow_netlink.c memset(&key->ipv4.ct_orig, 0, sizeof(key->ipv4.ct_orig)); ipv4 2077 net/openvswitch/flow_netlink.c ipv4_key->ipv4_src = output->ipv4.addr.src; ipv4 2078 net/openvswitch/flow_netlink.c ipv4_key->ipv4_dst = output->ipv4.addr.dst; ipv4 2111 net/openvswitch/flow_netlink.c arp_key->arp_sip = output->ipv4.addr.src; ipv4 2112 net/openvswitch/flow_netlink.c arp_key->arp_tip = output->ipv4.addr.dst; ipv4 2114 net/openvswitch/flow_netlink.c ether_addr_copy(arp_key->arp_sha, output->ipv4.arp.sha); ipv4 2115 net/openvswitch/flow_netlink.c ether_addr_copy(arp_key->arp_tha, output->ipv4.arp.tha); ipv4 2621 net/openvswitch/flow_netlink.c else if (key.tun_proto == AF_INET && key.tun_key.u.ipv4.dst == 0) ipv4 490 net/sched/act_tunnel_key.c __be32 saddr = info->key.u.ipv4.src; ipv4 491 net/sched/act_tunnel_key.c __be32 daddr = info->key.u.ipv4.dst; ipv4 40 net/sched/cls_flower.c struct flow_dissector_key_ipv4_addrs ipv4; ipv4 1116 net/sched/cls_flower.c fl_set_key_val(tb, &key->ipv4.src, TCA_FLOWER_KEY_IPV4_SRC, ipv4 1117 net/sched/cls_flower.c &mask->ipv4.src, TCA_FLOWER_KEY_IPV4_SRC_MASK, ipv4 1118 net/sched/cls_flower.c sizeof(key->ipv4.src)); ipv4 1119 net/sched/cls_flower.c fl_set_key_val(tb, &key->ipv4.dst, TCA_FLOWER_KEY_IPV4_DST, ipv4 1120 net/sched/cls_flower.c &mask->ipv4.dst, TCA_FLOWER_KEY_IPV4_DST_MASK, ipv4 1121 net/sched/cls_flower.c sizeof(key->ipv4.dst)); ipv4 1329 net/sched/cls_flower.c FLOW_DISSECTOR_KEY_IPV4_ADDRS, ipv4); ipv4 2289 net/sched/cls_flower.c (fl_dump_key_val(skb, &key->ipv4.src, TCA_FLOWER_KEY_IPV4_SRC, ipv4 2290 net/sched/cls_flower.c &mask->ipv4.src, TCA_FLOWER_KEY_IPV4_SRC_MASK, ipv4 2291 net/sched/cls_flower.c sizeof(key->ipv4.src)) || ipv4 2292 net/sched/cls_flower.c fl_dump_key_val(skb, &key->ipv4.dst, TCA_FLOWER_KEY_IPV4_DST, ipv4 2293 net/sched/cls_flower.c &mask->ipv4.dst, TCA_FLOWER_KEY_IPV4_DST_MASK, ipv4 2294 net/sched/cls_flower.c sizeof(key->ipv4.dst)))) ipv4 107 net/sctp/offload.c goto ipv4; ipv4 112 net/sctp/offload.c ipv4: ipv4 355 net/sctp/protocol.c !net->ipv4.sysctl_ip_nonlocal_bind) ipv4 415 net/smc/af_smc.c smc_llc_link_active(link, net->ipv4.sysctl_tcp_keepalive_time); ipv4 1045 net/smc/af_smc.c smc_llc_link_active(link, net->ipv4.sysctl_tcp_keepalive_time); ipv4 96 net/smc/smc_clc.c static int smc_clc_prfx_set4_rcu(struct dst_entry *dst, __be32 ipv4, ipv4 106 net/smc/smc_clc.c if (!inet_ifa_match(ipv4, ifa)) ipv4 71 net/tipc/udp_media.c struct in_addr ipv4; ipv4 102 net/tipc/udp_media.c return ipv4_is_multicast(addr->ipv4.s_addr); ipv4 128 net/tipc/udp_media.c snprintf(buf, size, "%pI4:%u", &ua->ipv4, ntohs(ua->port)); ipv4 174 net/tipc/udp_media.c .daddr = dst->ipv4.s_addr, ipv4 175 net/tipc/udp_media.c .saddr = src->ipv4.s_addr, ipv4 188 net/tipc/udp_media.c udp_tunnel_xmit_skb(rt, ub->ubsock->sk, skb, src->ipv4.s_addr, ipv4 189 net/tipc/udp_media.c dst->ipv4.s_addr, 0, ttl, 0, src->port, ipv4 314 net/tipc/udp_media.c pr_info("New replicast peer: %pI4\n", &rcast->addr.ipv4); ipv4 339 net/tipc/udp_media.c src.ipv4.s_addr = iphdr->saddr; ipv4 404 net/tipc/udp_media.c mreqn.imr_multiaddr = remote->ipv4; ipv4 425 net/tipc/udp_media.c ip4.sin_addr.s_addr = addr->ipv4.s_addr; ipv4 587 net/tipc/udp_media.c addr->ipv4.s_addr = ip4->sin_addr.s_addr; ipv4 722 net/tipc/udp_media.c dev = __ip_dev_find(net, local.ipv4.s_addr, false); ipv4 733 net/tipc/udp_media.c udp_conf.local_ip.s_addr = local.ipv4.s_addr; ipv4 2451 net/xfrm/xfrm_state.c xs_net(x)->ipv4.sysctl_ip_no_pmtu_disc) ipv4 92 security/selinux/include/objsec.h __be32 ipv4; /* IPv4 node address */ ipv4 125 security/selinux/netnode.c if (node->nsec.addr.ipv4 == *(__be32 *)addr) ipv4 152 security/selinux/netnode.c idx = sel_netnode_hashfn_ipv4(node->nsec.addr.ipv4); ipv4 210 security/selinux/netnode.c new->nsec.addr.ipv4 = *(__be32 *)addr; ipv4 3129 tools/include/uapi/linux/bpf.h } ipv4; ipv4 90 tools/testing/selftests/bpf/prog_tests/flow_dissector.c struct ipv4_pkt ipv4; ipv4 106 tools/testing/selftests/bpf/prog_tests/flow_dissector.c .pkt.ipv4 = { ipv4 192 tools/testing/selftests/bpf/prog_tests/flow_dissector.c .pkt.ipv4 = { ipv4 218 tools/testing/selftests/bpf/prog_tests/flow_dissector.c .pkt.ipv4 = { ipv4 29 tools/testing/selftests/bpf/progs/connect4_prog.c memset(&tuple.ipv4.saddr, 0, sizeof(tuple.ipv4.saddr)); ipv4 30 tools/testing/selftests/bpf/progs/connect4_prog.c memset(&tuple.ipv4.sport, 0, sizeof(tuple.ipv4.sport)); ipv4 32 tools/testing/selftests/bpf/progs/connect4_prog.c tuple.ipv4.daddr = bpf_htonl(DST_REWRITE_IP4); ipv4 33 tools/testing/selftests/bpf/progs/connect4_prog.c tuple.ipv4.dport = bpf_htons(DST_REWRITE_PORT4); ipv4 38 tools/testing/selftests/bpf/progs/connect4_prog.c sk = bpf_sk_lookup_tcp(ctx, &tuple, sizeof(tuple.ipv4), ipv4 41 tools/testing/selftests/bpf/progs/connect4_prog.c sk = bpf_sk_lookup_udp(ctx, &tuple, sizeof(tuple.ipv4), ipv4 47 tools/testing/selftests/bpf/progs/connect4_prog.c if (sk->src_ip4 != tuple.ipv4.daddr || ipv4 24 tools/testing/selftests/bpf/progs/test_sk_lookup_kern.c bool *ipv4) ipv4 37 tools/testing/selftests/bpf/progs/test_sk_lookup_kern.c *ipv4 = true; ipv4 46 tools/testing/selftests/bpf/progs/test_sk_lookup_kern.c *ipv4 = true; ipv4 65 tools/testing/selftests/bpf/progs/test_sk_lookup_kern.c bool ipv4; ipv4 70 tools/testing/selftests/bpf/progs/test_sk_lookup_kern.c tuple = get_tuple(data, sizeof(*eth), data_end, eth->h_proto, &ipv4); ipv4 74 tools/testing/selftests/bpf/progs/test_sk_lookup_kern.c tuple_len = ipv4 ? sizeof(tuple->ipv4) : sizeof(tuple->ipv6); ipv4 77 tools/testing/selftests/bpf/progs/test_tcp_check_syncookie_kern.c tup.ipv4.saddr = ipv4h->saddr; ipv4 78 tools/testing/selftests/bpf/progs/test_tcp_check_syncookie_kern.c tup.ipv4.daddr = ipv4h->daddr; ipv4 79 tools/testing/selftests/bpf/progs/test_tcp_check_syncookie_kern.c tup.ipv4.sport = tcph->source; ipv4 80 tools/testing/selftests/bpf/progs/test_tcp_check_syncookie_kern.c tup.ipv4.dport = tcph->dest; ipv4 82 tools/testing/selftests/bpf/progs/test_tcp_check_syncookie_kern.c sk = bpf_skc_lookup_tcp(ctx, &tup, sizeof(tup.ipv4), ipv4 491 tools/usb/usbip/src/usbipd.c static int do_standalone_mode(int daemonize, int ipv4, int ipv6) ipv4 523 tools/usb/usbip/src/usbipd.c if (ipv4 && ipv6) ipv4 525 tools/usb/usbip/src/usbipd.c else if (ipv4) ipv4 609 tools/usb/usbip/src/usbipd.c int ipv4 = 0, ipv6 = 0; ipv4 630 tools/usb/usbip/src/usbipd.c ipv4 = 1; ipv4 663 tools/usb/usbip/src/usbipd.c if (!ipv4 && !ipv6) ipv4 664 tools/usb/usbip/src/usbipd.c ipv4 = ipv6 = 1; ipv4 668 tools/usb/usbip/src/usbipd.c rc = do_standalone_mode(daemonize, ipv4, ipv6);