Home
last modified time | relevance | path

Searched refs:ip_len (Results 1 – 6 of 6) sorted by relevance

/drivers/net/ethernet/qualcomm/rmnet/
Drmnet_map_data.c261 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()
/drivers/net/ethernet/chelsio/libcxgb/
Dlibcxgb_cm.c49 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()
/drivers/scsi/qedi/
Dqedi_main.c2050 u32 ipv6_en, dhcp_en, ip_len; in qedi_show_boot_eth_info() local
2066 ip_len = ipv6_en ? IPV6_LEN : IPV4_LEN; in qedi_show_boot_eth_info()
2077 ip_len = ipv6_en ? 5 : 8; in qedi_show_boot_eth_info()
2082 rc = snprintf(buf, ip_len, fmt, ip); in qedi_show_boot_eth_info()
2085 rc = snprintf(buf, ip_len, fmt, sub); in qedi_show_boot_eth_info()
2088 rc = snprintf(buf, ip_len, fmt, gw); in qedi_show_boot_eth_info()
2183 u32 ctrl_flags, ipv6_en, chap_en, mchap_en, ip_len; in qedi_show_boot_tgt_info() local
2207 ip_len = ipv6_en ? IPV6_LEN : IPV4_LEN; in qedi_show_boot_tgt_info()
2225 rc = snprintf(buf, ip_len, "%pI6\n", in qedi_show_boot_tgt_info()
2228 rc = snprintf(buf, ip_len, "%pI4\n", in qedi_show_boot_tgt_info()
/drivers/scsi/be2iscsi/
Dbe_mgmt.c557 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()
/drivers/net/ethernet/neterion/
Ds2io.c8176 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()
/drivers/scsi/qla4xxx/
Dql4_os.c6697 size_t ip_len = IP_ADDR_LEN; in qla4xxx_cmp_fw_stentry() local
6701 ip_len = IPv6_ADDR_LEN; in qla4xxx_cmp_fw_stentry()
6703 if (memcmp(fw_ddb_entry->ip_addr, flash_ddb_entry->ip_addr, ip_len)) in qla4xxx_cmp_fw_stentry()