/linux-6.1.9/tools/perf/util/intel-pt-decoder/ |
D | intel-pt-pkt-decoder.c | 456 int ip_len; in intel_pt_get_ip() local 462 ip_len = 0; in intel_pt_get_ip() 467 ip_len = 2; in intel_pt_get_ip() 473 ip_len = 4; in intel_pt_get_ip() 480 ip_len = 6; in intel_pt_get_ip() 486 ip_len = 8; in intel_pt_get_ip() 495 return ip_len + 1; in intel_pt_get_ip()
|
/linux-6.1.9/drivers/net/ethernet/qualcomm/rmnet/ |
D | rmnet_map_data.c | 261 u16 ip_len = ((struct iphdr *)iph)->ihl * 4; in rmnet_map_v5_checksum_uplink_packet() local 264 trans = iph + ip_len; in rmnet_map_v5_checksum_uplink_packet() 267 u16 ip_len = sizeof(struct ipv6hdr); in rmnet_map_v5_checksum_uplink_packet() local 270 trans = iph + ip_len; in rmnet_map_v5_checksum_uplink_packet()
|
/linux-6.1.9/fs/nfs/ |
D | dns_resolve.c | 24 int ip_len; in nfs_dns_resolve_name() local 26 ip_len = dns_query(net, NULL, name, namelen, NULL, &ip_addr, NULL, in nfs_dns_resolve_name() 28 if (ip_len > 0) in nfs_dns_resolve_name() 29 ret = rpc_pton(net, ip_addr, ip_len, sa, salen); in nfs_dns_resolve_name()
|
/linux-6.1.9/drivers/net/ethernet/chelsio/libcxgb/ |
D | libcxgb_cm.c | 49 int ip_len = (CHELSIO_CHIP_VERSION(type) <= CHELSIO_T5) ? in cxgb_get_4tuple() local 55 ((u8 *)(req + 1) + eth_len + ip_len); in cxgb_get_4tuple()
|
/linux-6.1.9/net/core/ |
D | netpoll.c | 385 int total_len, ip_len, udp_len; in netpoll_send_udp() local 398 ip_len = udp_len + sizeof(*ip6h); in netpoll_send_udp() 400 ip_len = udp_len + sizeof(*iph); in netpoll_send_udp() 402 total_len = ip_len + LL_RESERVED_SPACE(np->dev); in netpoll_send_udp() 463 put_unaligned(htons(ip_len), &(iph->tot_len)); in netpoll_send_udp()
|
/linux-6.1.9/tools/testing/selftests/bpf/progs/ |
D | xdp_synproxy_kern.c | 581 __u16 ip_len; in syncookie_handle_syn() local 612 ip_len = sizeof(*hdr->ipv4); in syncookie_handle_syn() 625 ip_len = sizeof(*hdr->ipv6); in syncookie_handle_syn() 645 if (data + sizeof(*hdr->eth) + ip_len + TCP_MAXLEN > data_end) in syncookie_handle_syn() 695 new_pkt_size = sizeof(*hdr->eth) + ip_len + hdr->tcp->doff * 4; in syncookie_handle_syn()
|
/linux-6.1.9/arch/s390/kernel/ |
D | ipl.c | 588 int i, ip_len; in reipl_generic_vmparm_store() local 591 ip_len = len; in reipl_generic_vmparm_store() 593 ip_len--; in reipl_generic_vmparm_store() 595 if (ip_len > vmparm_max) in reipl_generic_vmparm_store() 599 for (i = 0; i < ip_len; i++) in reipl_generic_vmparm_store() 604 ipb->ccw.vm_parm_len = ip_len; in reipl_generic_vmparm_store() 605 if (ip_len > 0) { in reipl_generic_vmparm_store() 607 memcpy(ipb->ccw.vm_parm, buf, ip_len); in reipl_generic_vmparm_store() 608 ASCEBC(ipb->ccw.vm_parm, ip_len); in reipl_generic_vmparm_store()
|
/linux-6.1.9/net/openvswitch/ |
D | flow.c | 194 unsigned int ip_len; in check_iphdr() local 201 ip_len = ip_hdrlen(skb); in check_iphdr() 202 if (unlikely(ip_len < sizeof(struct iphdr) || in check_iphdr() 203 skb->len < nh_ofs + ip_len)) in check_iphdr() 206 skb_set_transport_header(skb, nh_ofs + ip_len); in check_iphdr()
|
/linux-6.1.9/tools/testing/selftests/net/ |
D | ip_defrag.c | 185 iphdr->ip_len = htons(frag_len); in send_fragment() 313 iphdr->ip_len = htons(frag_len); in send_udp_frags()
|
/linux-6.1.9/drivers/scsi/qedi/ |
D | qedi_main.c | 2048 u32 ipv6_en, dhcp_en, ip_len; in qedi_show_boot_eth_info() local 2064 ip_len = ipv6_en ? IPV6_LEN : IPV4_LEN; in qedi_show_boot_eth_info() 2075 ip_len = ipv6_en ? 5 : 8; in qedi_show_boot_eth_info() 2080 rc = snprintf(buf, ip_len, fmt, ip); in qedi_show_boot_eth_info() 2083 rc = snprintf(buf, ip_len, fmt, sub); in qedi_show_boot_eth_info() 2086 rc = snprintf(buf, ip_len, fmt, gw); in qedi_show_boot_eth_info() 2181 u32 ctrl_flags, ipv6_en, chap_en, mchap_en, ip_len; in qedi_show_boot_tgt_info() local 2205 ip_len = ipv6_en ? IPV6_LEN : IPV4_LEN; in qedi_show_boot_tgt_info() 2223 rc = snprintf(buf, ip_len, "%pI6\n", in qedi_show_boot_tgt_info() 2226 rc = snprintf(buf, ip_len, "%pI4\n", in qedi_show_boot_tgt_info()
|
/linux-6.1.9/drivers/scsi/be2iscsi/ |
D | be_mgmt.c | 557 uint32_t ip_len; in beiscsi_if_set_ip() local 574 ip_len = (ip_type < BEISCSI_IP_TYPE_V6) ? IP_V4_LEN : IP_V6_LEN; in beiscsi_if_set_ip() 575 memcpy(req->ip_params.ip_record.ip_addr.addr, ip, ip_len); in beiscsi_if_set_ip() 578 subnet, ip_len); in beiscsi_if_set_ip()
|
/linux-6.1.9/net/ceph/ |
D | messenger.c | 1175 int ip_len, ret; in ceph_dns_resolve_name() local 1198 ip_len = dns_query(current->nsproxy->net_ns, in ceph_dns_resolve_name() 1200 if (ip_len > 0) in ceph_dns_resolve_name() 1201 ret = ceph_pton(ip_addr, ip_len, addr, -1, NULL); in ceph_dns_resolve_name()
|
/linux-6.1.9/drivers/net/ethernet/neterion/ |
D | s2io.c | 8176 u8 l2_type = (u8)((rxdp->Control_1 >> 37) & 0x7), ip_len; in check_L2_lro_capable() local 8201 ip_len = (u8)((*ip)->ihl); in check_L2_lro_capable() 8202 ip_len <<= 2; in check_L2_lro_capable() 8203 *tcp = (struct tcphdr *)((unsigned long)*ip + ip_len); in check_L2_lro_capable()
|
/linux-6.1.9/drivers/scsi/qla4xxx/ |
D | ql4_os.c | 6687 size_t ip_len = IP_ADDR_LEN; in qla4xxx_cmp_fw_stentry() local 6691 ip_len = IPv6_ADDR_LEN; in qla4xxx_cmp_fw_stentry() 6693 if (memcmp(fw_ddb_entry->ip_addr, flash_ddb_entry->ip_addr, ip_len)) in qla4xxx_cmp_fw_stentry()
|