Lines Matching defs:protocol
46 * @protocol: Network protocol (after any VLAN header)
70 __be16 protocol;
141 * under which TSO will be attempted hold true. Return the protocol number.
145 __be16 protocol = skb->protocol;
148 protocol);
149 if (protocol == htons(ETH_P_8021Q)) {
152 protocol = veh->h_vlan_encapsulated_proto;
155 if (protocol == htons(ETH_P_IP)) {
156 EFX_WARN_ON_ONCE_PARANOID(ip_hdr(skb)->protocol != IPPROTO_TCP);
158 EFX_WARN_ON_ONCE_PARANOID(protocol != htons(ETH_P_IPV6));
165 return protocol;
183 if (st->protocol == htons(ETH_P_IP)) {
375 /* Find the packet protocol and sanity-check it */
376 state.protocol = efx_tso_check_protocol(skb);