Searched defs:tot_len (Results 1 - 4 of 4) sorted by relevance
/net/dccp/ |
H A D | options.c | 507 u8 tot_len, *to; local 517 tot_len = 3 + repeat_first + len; 519 if (DCCP_SKB_CB(skb)->dccpd_opt_len + tot_len > DCCP_MAX_OPT_LEN) { 523 DCCP_SKB_CB(skb)->dccpd_opt_len += tot_len; 525 to = skb_push(skb, tot_len); 527 *to++ = tot_len;
|
/net/ipv6/ |
H A D | exthdrs.c | 718 opt2 = sock_kmalloc(sk, opt->tot_len, GFP_ATOMIC); 721 memcpy(opt2, opt, opt->tot_len); 765 int tot_len = 0; local 772 tot_len += CMSG_ALIGN(ipv6_optlen(opt->hopopt)); 774 tot_len += CMSG_ALIGN(ipv6_optlen(opt->dst0opt)); 776 tot_len += CMSG_ALIGN(ipv6_optlen(opt->srcrt)); 778 tot_len += CMSG_ALIGN(ipv6_optlen(opt->dst1opt)); 782 tot_len += CMSG_ALIGN(newoptlen); 784 if (!tot_len) 787 tot_len [all...] |
H A D | tcp_ipv6.c | 802 unsigned int tot_len = sizeof(struct tcphdr); local 807 tot_len += TCPOLEN_TSTAMP_ALIGNED; 810 tot_len += TCPOLEN_MD5SIG_ALIGNED; 813 buff = alloc_skb(MAX_HEADER + sizeof(struct ipv6hdr) + tot_len, 818 skb_reserve(buff, MAX_HEADER + sizeof(struct ipv6hdr) + tot_len); 820 t1 = (struct tcphdr *) skb_push(buff, tot_len); 827 t1->doff = tot_len / 4;
|
/net/ |
H A D | compat.c | 38 int tot_len = 0; local 48 if (len > INT_MAX - tot_len) 49 len = INT_MAX - tot_len; 51 tot_len += len; 58 return tot_len; 86 int tot_len; local 102 tot_len = iov_from_user_compat_to_kern(kern_iov, 105 if (tot_len >= 0) 108 return tot_len;
|
Completed in 638 milliseconds