/freebsd/contrib/wpa/src/eap_peer/ |
H A D | eap_pwd.c | 892 u16 tot_len = 0; in eap_pwd_process() local 976 tot_len = WPA_GET_BE16(pos); in eap_pwd_process() 978 "total length = %d", tot_len); in eap_pwd_process() 979 if (tot_len > 15000) in eap_pwd_process() 987 data->inbuf = wpabuf_alloc(tot_len); in eap_pwd_process() 1089 tot_len = len; in eap_pwd_process() 1095 "length = %d", tot_len); in eap_pwd_process() 1106 wpabuf_put_be16(resp, tot_len); in eap_pwd_process()
|
/freebsd/sys/ofed/drivers/infiniband/core/ |
H A D | ib_ud_header.c | 136 { STRUCT_FIELD(ip4, tot_len), 294 iph.ip_len = header->ip4.tot_len; in ib_ud_ip4_csum() 377 header->ip4.tot_len = in ib_ud_header_init()
|
/freebsd/sys/dev/mlx5/mlx5_en/ |
H A D | mlx5_en_rx.c | 137 uint16_t tot_len; in mlx5e_lro_update_hdr() local 153 tot_len = be32_to_cpu(cqe->byte_cnt) - ETHER_HDR_LEN; in mlx5e_lro_update_hdr() 204 ip4->ip_len = cpu_to_be16(tot_len); in mlx5e_lro_update_hdr() 209 ip6->ip6_plen = cpu_to_be16(tot_len - in mlx5e_lro_update_hdr()
|
/freebsd/sys/dev/qlnx/qlnxe/ |
H A D | ecore_tcp_ip.h | 69 u16 tot_len; member
|
H A D | ecore_iwarp.c | 2064 *payload_len = ntohs(iph->tot_len) - ip_hlen; in ecore_iwarp_parse_rx_pkt()
|
/freebsd/contrib/wpa/src/eap_server/ |
H A D | eap_server_pwd.c | 872 u16 tot_len; in eap_pwd_process() local 910 tot_len = WPA_GET_BE16(pos); in eap_pwd_process() 912 "length = %d", tot_len); in eap_pwd_process() 913 if (tot_len > 15000) in eap_pwd_process() 920 data->inbuf = wpabuf_alloc(tot_len); in eap_pwd_process()
|
/freebsd/sys/dev/netmap/ |
H A D | netmap_offloadings.c | 83 iph->tot_len = htobe16(len); in gso_fix_segment() 84 nm_prdis("ip total length %u", be16toh(ip->tot_len)); in gso_fix_segment()
|
H A D | netmap_kern.h | 2252 uint16_t tot_len; member
|
/freebsd/sys/dev/cxgbe/crypto/ |
H A D | t6_kern_tls.c | 898 u_int wr_len, tot_len; in t6_ktls_parse_pkt() local 966 tot_len = 0; in t6_ktls_parse_pkt() 982 tot_len += roundup2(wr_len, EQ_ESIZE); in t6_ktls_parse_pkt() 992 MPASS(tot_len != 0); in t6_ktls_parse_pkt() 1007 tot_len += roundup2(wr_len, EQ_ESIZE); in t6_ktls_parse_pkt() 1011 tot_len += EQ_ESIZE; in t6_ktls_parse_pkt() 1028 tot_len += roundup2(wr_len, EQ_ESIZE); in t6_ktls_parse_pkt() 1030 set_mbuf_len16(m, tot_len / 16); in t6_ktls_parse_pkt()
|
/freebsd/contrib/wpa/src/common/ |
H A D | dhcp.h | 20 #define tot_len ip_len macro
|
/freebsd/sys/dev/vnic/ |
H A D | q_struct.h | 572 uint64_t tot_len:20; /* W0 */ member 581 uint64_t tot_len:20;
|
H A D | nicvf_queues.c | 1773 hdr->tot_len = len; in nicvf_sq_add_hdr_subdesc()
|
/freebsd/sys/netpfil/pf/ |
H A D | pf_norm.c | 1113 pf_counter_u64_add_protected(&r->bytes[pd->dir == PF_OUT], pd->tot_len); in pf_normalize_ip() 1264 pf_counter_u64_add_protected(&r->bytes[pd->dir == PF_OUT], pd->tot_len); in pf_normalize_ip6() 1346 pf_counter_u64_add_protected(&r->bytes[pd->dir == PF_OUT], pd->tot_len); in pf_normalize_tcp() 1979 while (pd->off + chunk_off < pd->tot_len) { in pf_scan_sctp() 2075 if (pd->off + chunk_off != pd->tot_len) in pf_scan_sctp() 2146 pf_counter_u64_add_protected(&r->bytes[pd->dir == PF_OUT], pd->tot_len); in pf_normalize_sctp() 2151 if ((pd->tot_len - pd->off - sizeof(struct sctphdr)) % 4) in pf_normalize_sctp()
|
H A D | pf.c | 3686 if (pf_check_proto_cksum(pd->m, pd->off, pd->tot_len - pd->off, in pf_return() 5228 pf_counter_u64_add_protected(&r->bytes[pd->dir == PF_OUT], pd->tot_len); in pf_test_rule() 8698 pd->tot_len = ntohs(h->ip_len); in pf_setup_pdesc() 8742 pd->tot_len = ntohs(h->ip6_plen) + sizeof(struct ip6_hdr); in pf_setup_pdesc() 8810 pd->p_len = pd->tot_len - pd->off - (th->th_off << 2); in pf_setup_pdesc() 8844 pd->p_len = pd->tot_len - pd->off; in pf_setup_pdesc() 8917 pd->tot_len); in pf_counters_inc() 8925 pf_counter_u64_add_protected(&r->bytes[dirndx], pd->tot_len); in pf_counters_inc() 8930 pf_counter_u64_add_protected(&a->bytes[dirndx], pd->tot_len); in pf_counters_inc() 8939 pd->tot_len); in pf_counters_inc() [all …]
|
/freebsd/sys/ofed/include/rdma/ |
H A D | ib_pack.h | 238 __be16 tot_len; member
|
/freebsd/sys/dev/lge/ |
H A D | if_lge.c | 1091 int frag = 0, tot_len = 0; in lge_encap() 1104 tot_len += m->m_len; in lge_encap() 1117 cur_tx->lge_ctl = LGE_TXCTL_WANTINTR|LGE_FRAGCNT(frag)|tot_len; in lge_encap() 1092 int frag = 0, tot_len = 0; lge_encap() local
|
/freebsd/sys/netinet/tcp_stacks/ |
H A D | bbr.c | 729 …r(struct tcp_bbr *bbr, struct tcpcb *tp, uint32_t cts, int32_t frm, int32_t slot, uint32_t tot_len) in bbr_start_hpts_timer() argument 946 bbr_log_type_bbrsnd(bbr, tot_len, slot, delay_calc, cts, frm, prev_delay); in bbr_start_hpts_timer() 11872 uint32_t tot_len = 0; in bbr_output_wtime() local 12151 tot_len = tp->t_maxseg; in bbr_output_wtime() 12726 if (tot_len) in bbr_output_wtime() 12727 slot = bbr_get_pacing_delay(bbr, bbr->r_ctl.rc_bbr_hptsi_gain, tot_len, cts, 0); in bbr_output_wtime() 12730 if (tot_len == 0) { in bbr_output_wtime() 12774 if (tot_len == 0) in bbr_output_wtime() 12779 bbr_start_hpts_timer(bbr, tp, cts, 9, slot, tot_len); in bbr_output_wtime() 12780 bbr_log_type_just_return(bbr, cts, tot_len, hpts_calling, app_limited, p_maxseg, len); in bbr_output_wtime() [all …]
|
H A D | rack.c | 19079 uint32_t cts, uint32_t ms_cts, struct timeval *tv, long tot_len, int *send_err) in rack_fast_output() argument 19509 tot_len += len; in rack_fast_output() 19556 slot = rack_get_pacing_delay(rack, tp, tot_len, NULL, segsiz, __LINE__); in rack_fast_output() 19557 rack_start_hpts_timer(rack, tp, cts, slot, tot_len, 0); in rack_fast_output() 19567 tp->tcp_cnt_counters[CNT_OF_MSS_OUT] += ((tot_len + segsiz - 1) / segsiz); in rack_fast_output()
|
/freebsd/sys/netinet/ |
H A D | sctp_output.c | 3459 int tot_len, rem_len, cmsg_data_len, cmsg_data_off, off; in sctp_find_cmsg() local 3467 tot_len = SCTP_BUF_LEN(control); in sctp_find_cmsg() 3468 for (off = 0; off < tot_len; off += CMSG_ALIGN(cmh.cmsg_len)) { in sctp_find_cmsg() 3469 rem_len = tot_len - off; in sctp_find_cmsg() 3564 int tot_len, rem_len, cmsg_data_len, cmsg_data_off, off; in sctp_process_cmsgs_for_init() local 3566 tot_len = SCTP_BUF_LEN(control); in sctp_process_cmsgs_for_init() 3567 for (off = 0; off < tot_len; off += CMSG_ALIGN(cmh.cmsg_len)) { in sctp_process_cmsgs_for_init() 3568 rem_len = tot_len - off; in sctp_process_cmsgs_for_init() 3735 int tot_len, rem_len, cmsg_data_len, cmsg_data_off, off; in sctp_findassociation_cmsgs() local 3737 tot_len = SCTP_BUF_LEN(control); in sctp_findassociation_cmsgs() [all …]
|
/freebsd/sys/dev/cxgbe/cudbg/ |
H A D | cudbg_lib.c | 2547 unsigned long tot_len, struct cudbg_error *cudbg_err) in read_fw_mem() argument 2585 rc = get_payload_range(padap, mem_type, tot_len, in read_fw_mem() 2603 bytes_left = tot_len; in read_fw_mem() 2604 scratch_buff.size = tot_len; in read_fw_mem()
|
/freebsd/tools/tools/netmap/ |
H A D | lb.c | 62 u_int16_t tot_len; member
|
/freebsd/sys/net/ |
H A D | pfvar.h | 1588 u_int64_t tot_len; /* Make Mickey money */ member
|