Searched refs:protolen (Results 1 – 2 of 2) sorted by relevance
2846 int protolen; /* length as stored in the proto field */ in nv_getlen() local2850 protolen = ntohs(((struct vlan_ethhdr *)packet)->h_vlan_encapsulated_proto); in nv_getlen()2853 protolen = ntohs(((struct ethhdr *)packet)->h_proto); in nv_getlen()2856 if (protolen > ETH_DATA_LEN) in nv_getlen()2859 protolen += hdrlen; in nv_getlen()2862 if (datalen >= protolen) { in nv_getlen()2866 return protolen; in nv_getlen()2875 if (protolen > ETH_ZLEN) { in nv_getlen()
220 void *from, int len, int protolen,