Home
last modified time | relevance | path

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

/linux-2.4.37.9/drivers/net/
Dstrip.c2057 static void deliver_packet(struct strip *strip_info, STRIP_Header *header, __u16 packetlen) in deliver_packet() argument
2059 struct sk_buff *skb = dev_alloc_skb(sizeof(STRIP_Header) + packetlen); in deliver_packet()
2068 memcpy(skb_put(skb, packetlen), strip_info->rx_buff, packetlen); in deliver_packet()
2082 strip_info->rx_bytes += packetlen; in deliver_packet()
2090 __u16 packetlen; in process_IP_packet() local
2100 packetlen = ((__u16)strip_info->rx_buff[2] << 8) | strip_info->rx_buff[3]; in process_IP_packet()
2102 if (packetlen > MAX_RECV_MTU) in process_IP_packet()
2105 strip_info->dev.name, packetlen); in process_IP_packet()
2113 ptr = UnStuffData(ptr, end, strip_info->rx_buff+4, packetlen-4); in process_IP_packet()
2128 deliver_packet(strip_info, header, packetlen); in process_IP_packet()
[all …]