Searched refs:pktlen (Results 1 – 4 of 4) sorted by relevance
27 u_int16_t pktlen = ntohs(ip_hdr(skb)->tot_len); in length_mt() local29 return (pktlen >= info->min && pktlen <= info->max) ^ info->invert; in length_mt()36 const u_int16_t pktlen = ntohs(ipv6_hdr(skb)->payload_len) + in length_mt6() local39 return (pktlen >= info->min && pktlen <= info->max) ^ info->invert; in length_mt6()
76 int pktlen; in chnl_recv_cb() local87 pktlen = skb->len; in chnl_recv_cb()127 priv->netdev->stats.rx_bytes += pktlen; in chnl_recv_cb()
837 __le16 *pktlen; in dn_send_endnode_hello() local866 pktlen = (__le16 *)skb_push(skb,2); in dn_send_endnode_hello()867 *pktlen = cpu_to_le16(skb->len - 2); in dn_send_endnode_hello()910 __le16 *pktlen; in dn_send_router_hello() local958 pktlen = (__le16 *)skb_push(skb, 2); in dn_send_router_hello()959 *pktlen = cpu_to_le16(skb->len - 2); in dn_send_router_hello()
1364 u16 pktlen, pktcnt, seqno = l->snd_nxt; in tipc_link_tnl_prepare() local1396 pktlen = msg_size(hdr); in tipc_link_tnl_prepare()1397 msg_set_size(&tnlhdr, pktlen + INT_H_SIZE); in tipc_link_tnl_prepare()1398 tnlskb = tipc_buf_acquire(pktlen + INT_H_SIZE, GFP_ATOMIC); in tipc_link_tnl_prepare()1404 skb_copy_to_linear_data_offset(tnlskb, INT_H_SIZE, hdr, pktlen); in tipc_link_tnl_prepare()