/freebsd-11-stable/contrib/wpa/src/ap/ |
H A D | dhcp_snoop.c | 42 u16 tot_len; local 49 tot_len = ntohs(b->iph.tot_len); 50 if (tot_len > (unsigned int) (len - ETH_HLEN)) 57 end = (const u8 *) b + tot_len;
|
H A D | fils_hlp.c | 264 iph->tot_len = htons(sizeof(*iph) + sizeof(*udph) + (end - pos)); 514 u16 tot_len; local 524 tot_len = ntohs(iph->tot_len); 525 if (tot_len > len)
|
/freebsd-11-stable/sys/dev/qlnx/qlnxe/ |
H A D | ecore_tcp_ip.h | 72 u16 tot_len; member in struct:ecore_iphdr
|
/freebsd-11-stable/sys/dev/mlx5/mlx5_en/ |
H A D | mlx5_en_rx.c | 132 uint16_t tot_len; local 148 tot_len = be32_to_cpu(cqe->byte_cnt) - ETHER_HDR_LEN; 199 ip4->ip_len = cpu_to_be16(tot_len); 204 ip6->ip6_plen = cpu_to_be16(tot_len -
|
/freebsd-11-stable/contrib/wpa/src/eap_peer/ |
H A D | eap_pwd.c | 873 u16 tot_len = 0; local 957 tot_len = WPA_GET_BE16(pos); 959 "total length = %d", tot_len); 960 if (tot_len > 15000) 968 data->inbuf = wpabuf_alloc(tot_len); 1070 tot_len = len; 1076 "length = %d", tot_len); 1087 wpabuf_put_be16(resp, tot_len);
|
/freebsd-11-stable/sys/ofed/drivers/infiniband/core/ |
H A D | ib_ud_header.c | 138 { STRUCT_FIELD(ip4, tot_len), 296 iph.ip_len = header->ip4.tot_len; 379 header->ip4.tot_len =
|
/freebsd-11-stable/contrib/wpa/src/common/ |
H A D | dhcp.h | 19 #define tot_len ip_len macro
|
/freebsd-11-stable/sys/dev/netmap/ |
H A D | netmap_offloadings.c | 82 iph->tot_len = htobe16(len); 83 nm_prdis("ip total length %u", be16toh(ip->tot_len));
|
H A D | netmap_kern.h | 2126 uint16_t tot_len; member in struct:nm_iphdr
|
/freebsd-11-stable/contrib/wpa/src/eap_server/ |
H A D | eap_server_pwd.c | 853 u16 tot_len; local 891 tot_len = WPA_GET_BE16(pos); 893 "length = %d", tot_len); 894 if (tot_len > 15000) 901 data->inbuf = wpabuf_alloc(tot_len);
|
/freebsd-11-stable/sys/dev/nxge/xgehal/ |
H A D | xgehal-device-fp.c | 731 ret = (xge_os_ntohs(ip->tot_len) - 990 lro_new->total_length = xge_os_ntohs(ip->tot_len); 1339 lro->ip_hdr->tot_len = xge_os_htons((*p_lro)->total_length); 1405 lro->ip_hdr->tot_len = xge_os_htons(lro->total_length);
|
/freebsd-11-stable/sys/ofed/include/rdma/ |
H A D | ib_pack.h | 238 __be16 tot_len; member in struct:ib_unpacked_ip4
|
/freebsd-11-stable/sys/dev/vnic/ |
H A D | q_struct.h | 574 uint64_t tot_len:20; /* W0 */ member in struct:sq_hdr_subdesc 583 uint64_t tot_len:20;
|
H A D | nicvf_queues.c | 1770 hdr->tot_len = len;
|
/freebsd-11-stable/sys/netpfil/pf/ |
H A D | pf.c | 6014 pd.tot_len = ntohs(h->ip_len); 6034 pd.p_len = pd.tot_len - off - (th.th_off << 2); 6245 kif->pfik_bytes[0][dir == PF_OUT][action != PF_PASS] += pd.tot_len; 6251 r->bytes[dirndx] += pd.tot_len; 6254 a->bytes[dirndx] += pd.tot_len; 6259 s->nat_rule.ptr->bytes[dirndx] += pd.tot_len; 6263 s->src_node->bytes[dirndx] += pd.tot_len; 6267 s->nat_src_node->bytes[dirndx] += pd.tot_len; 6271 s->bytes[dirndx] += pd.tot_len; 6282 pd.af, pd.tot_len, di [all...] |
H A D | pf_norm.c | 861 r->bytes[dir == PF_OUT] += pd->tot_len; 1004 r->bytes[dir == PF_OUT] += pd->tot_len; 1190 r->bytes[dir == PF_OUT] += pd->tot_len;
|
/freebsd-11-stable/sys/dev/lge/ |
H A D | if_lge.c | 1134 int frag = 0, tot_len = 0; local 1147 tot_len += m->m_len; 1160 cur_tx->lge_ctl = LGE_TXCTL_WANTINTR|LGE_FRAGCNT(frag)|tot_len;
|
/freebsd-11-stable/sys/dev/nxge/ |
H A D | if_nxge.c | 2531 int hlen, ip_len, tcp_hdr_len, tcp_data_len, tot_len, tcp_options; local 2584 tot_len = m_head->m_pkthdr.len; 2585 trim = tot_len - (ip_len + ETHER_HDR_LEN); 2590 tot_len = m_head->m_pkthdr.len; 2689 lro_session->len = tot_len;
|
/freebsd-11-stable/sys/dev/nxge/include/ |
H A D | xgehal-device.h | 229 u16 tot_len; member in struct:iplro
|
/freebsd-11-stable/contrib/wpa/hostapd/ |
H A D | ctrl_iface.c | 1847 ntohs(ip.tot_len) > HWSIM_IP_LEN) { 1853 for (i = 0; i < ntohs(ip.tot_len) - sizeof(ip); i++) { 1863 if (ntohs(ip.tot_len) != HWSIM_IP_LEN) 1864 os_snprintf(extra, sizeof(extra), " len=%d", ntohs(ip.tot_len)); 1962 ip->tot_len = htons(send_len);
|
/freebsd-11-stable/sys/netinet/ |
H A D | sctp_output.c | 3474 int tot_len, rem_len, cmsg_data_len, cmsg_data_off, off; local 3482 tot_len = SCTP_BUF_LEN(control); 3483 for (off = 0; off < tot_len; off += CMSG_ALIGN(cmh.cmsg_len)) { 3484 rem_len = tot_len - off; 3579 int tot_len, rem_len, cmsg_data_len, cmsg_data_off, off; local 3581 tot_len = SCTP_BUF_LEN(control); 3582 for (off = 0; off < tot_len; off += CMSG_ALIGN(cmh.cmsg_len)) { 3583 rem_len = tot_len - off; 3749 int tot_len, rem_len, cmsg_data_len, cmsg_data_off, off; local 3751 tot_len [all...] |
/freebsd-11-stable/sys/dev/cxgbe/cudbg/ |
H A D | cudbg_lib.c | 2552 unsigned long tot_len, struct cudbg_error *cudbg_err) 2590 rc = get_payload_range(padap, mem_type, tot_len, 2608 bytes_left = tot_len; 2609 scratch_buff.size = tot_len; 2550 read_fw_mem(struct cudbg_init *pdbg_init, struct cudbg_buffer *dbg_buff, u8 mem_type, unsigned long tot_len, struct cudbg_error *cudbg_err) argument
|
/freebsd-11-stable/tools/tools/netmap/ |
H A D | lb.c | 62 u_int16_t tot_len; member in struct:compact_ip_hdr
|
/freebsd-11-stable/sys/net/ |
H A D | pfvar.h | 1116 u_int64_t tot_len; /* Make Mickey money */ member in struct:pf_pdesc
|
/freebsd-11-stable/contrib/wpa/wpa_supplicant/ |
H A D | ctrl_iface.c | 8920 ntohs(ip.tot_len) > HWSIM_IP_LEN) { 8926 for (i = 0; i < ntohs(ip.tot_len) - sizeof(ip); i++) { 8935 if (ntohs(ip.tot_len) != HWSIM_IP_LEN) 8936 os_snprintf(extra, sizeof(extra), " len=%d", ntohs(ip.tot_len)); 9033 ip->tot_len = htons(send_len);
|