/linux-master/drivers/net/ethernet/chelsio/libcxgb/ |
H A D | libcxgb_cm.c | 49 int ip_len = (CHELSIO_CHIP_VERSION(type) <= CHELSIO_T5) ? local 55 ((u8 *)(req + 1) + eth_len + ip_len);
|
/linux-master/tools/perf/util/intel-pt-decoder/ |
H A D | intel-pt-pkt-decoder.c | 447 int ip_len; local 453 ip_len = 0; 458 ip_len = 2; 464 ip_len = 4; 471 ip_len = 6; 477 ip_len = 8; 486 return ip_len + 1;
|
/linux-master/fs/nfs/ |
H A D | dns_resolve.c | 26 int ip_len; local 28 ip_len = dns_query(net, NULL, name, namelen, NULL, &ip_addr, NULL, 30 if (ip_len > 0) 31 ret = rpc_pton(net, ip_addr, ip_len, sa, salen);
|
/linux-master/drivers/net/ethernet/qualcomm/rmnet/ |
H A D | rmnet_map_data.c | 262 u16 ip_len = ((struct iphdr *)iph)->ihl * 4; local 265 trans = iph + ip_len; 268 u16 ip_len = sizeof(struct ipv6hdr); local 271 trans = iph + ip_len;
|
/linux-master/net/openvswitch/ |
H A D | flow.c | 197 unsigned int ip_len; local 204 ip_len = ip_hdrlen(skb); 205 if (unlikely(ip_len < sizeof(struct iphdr) || 206 skb->len < nh_ofs + ip_len)) 209 skb_set_transport_header(skb, nh_ofs + ip_len);
|
/linux-master/net/core/ |
H A D | netpoll.c | 402 int total_len, ip_len, udp_len; local 415 ip_len = udp_len + sizeof(*ip6h); 417 ip_len = udp_len + sizeof(*iph); 419 total_len = ip_len + LL_RESERVED_SPACE(np->dev); 480 put_unaligned(htons(ip_len), &(iph->tot_len));
|
/linux-master/tools/testing/selftests/bpf/progs/ |
H A D | xdp_synproxy_kern.c | 603 __u16 ip_len; local 634 ip_len = sizeof(*hdr->ipv4); 647 ip_len = sizeof(*hdr->ipv6); 667 if (data + sizeof(*hdr->eth) + ip_len + TCP_MAXLEN > data_end) 717 new_pkt_size = sizeof(*hdr->eth) + ip_len + hdr->tcp->doff * 4;
|
/linux-master/tools/testing/selftests/net/ |
H A D | ip_defrag.c | 185 iphdr->ip_len = htons(frag_len); 313 iphdr->ip_len = htons(frag_len);
|
/linux-master/drivers/scsi/qedi/ |
H A D | qedi_main.c | 2050 u32 ipv6_en, dhcp_en, ip_len; local 2066 ip_len = ipv6_en ? IPV6_LEN : IPV4_LEN; 2077 ip_len = ipv6_en ? 5 : 8; 2082 rc = snprintf(buf, ip_len, fmt, ip); 2085 rc = snprintf(buf, ip_len, fmt, sub); 2088 rc = snprintf(buf, ip_len, fmt, gw); 2183 u32 ctrl_flags, ipv6_en, chap_en, mchap_en, ip_len; local 2207 ip_len = ipv6_en ? IPV6_LEN : IPV4_LEN; 2225 rc = snprintf(buf, ip_len, "%pI6\n", 2228 rc = snprintf(buf, ip_len, " [all...] |
/linux-master/arch/s390/kernel/ |
H A D | ipl.c | 714 int i, ip_len; local 717 ip_len = len; 719 ip_len--; 721 if (ip_len > vmparm_max) 725 for (i = 0; i < ip_len; i++) 730 ipb->ccw.vm_parm_len = ip_len; 731 if (ip_len > 0) { 733 memcpy(ipb->ccw.vm_parm, buf, ip_len); 734 ASCEBC(ipb->ccw.vm_parm, ip_len);
|
/linux-master/drivers/scsi/be2iscsi/ |
H A D | be_mgmt.c | 557 uint32_t ip_len; local 574 ip_len = (ip_type < BEISCSI_IP_TYPE_V6) ? IP_V4_LEN : IP_V6_LEN; 575 memcpy(req->ip_params.ip_record.ip_addr.addr, ip, ip_len); 578 subnet, ip_len);
|
/linux-master/net/ceph/ |
H A D | messenger.c | 1247 int ip_len, ret; local 1270 ip_len = dns_query(current->nsproxy->net_ns, 1272 if (ip_len > 0) 1273 ret = ceph_pton(ip_addr, ip_len, addr, -1, NULL);
|
/linux-master/drivers/net/ethernet/neterion/ |
H A D | s2io.c | 8170 u8 l2_type = (u8)((rxdp->Control_1 >> 37) & 0x7), ip_len; local 8195 ip_len = (u8)((*ip)->ihl); 8196 ip_len <<= 2; 8197 *tcp = (struct tcphdr *)((unsigned long)*ip + ip_len);
|
/linux-master/drivers/scsi/qla4xxx/ |
H A D | ql4_os.c | 6697 size_t ip_len = IP_ADDR_LEN; local 6701 ip_len = IPv6_ADDR_LEN; 6703 if (memcmp(fw_ddb_entry->ip_addr, flash_ddb_entry->ip_addr, ip_len))
|