Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/net/ethernet/nvidia/
Dforcedeth.c2846 int protolen; /* length as stored in the proto field */ in nv_getlen() local
2850 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()
/linux-6.12.1/include/net/
Dip.h221 void *from, int len, int protolen,