Lines Matching defs:protocol
568 * @protocol: Network protocol (after any VLAN header)
589 __be16 protocol;
597 * under which TSO will be attempted hold true. Return the protocol number.
601 __be16 protocol = skb->protocol;
604 protocol);
605 if (protocol == htons(ETH_P_8021Q)) {
606 /* Find the encapsulated protocol; reset network header
609 protocol = veh->h_vlan_encapsulated_proto;
611 if (protocol == htons(ETH_P_IP))
614 else if (protocol == htons(ETH_P_IPV6))
619 if (protocol == htons(ETH_P_IP)) {
620 EFX_BUG_ON_PARANOID(ip_hdr(skb)->protocol != IPPROTO_TCP);
622 EFX_BUG_ON_PARANOID(protocol != htons(ETH_P_IPV6));
629 return protocol;
872 if (st->protocol == htons(ETH_P_IP))
1031 if (st->protocol == htons(ETH_P_IP)) {
1075 /* Find the packet protocol and sanity-check it */
1076 state.protocol = efx_tso_check_protocol(skb);