Lines Matching defs:protocol
175 (__force __u32)tp->protocol, 0);
194 tp1->protocol == tp2->protocol;
372 static struct tcf_proto *tcf_proto_create(const char *kind, u32 protocol,
390 tp->protocol = protocol;
1655 * to this qdisc, (optionally) tests for protocol and asks
1675 __be16 protocol = skb_protocol(skb, false);
1700 if (tp->protocol != protocol &&
1701 tp->protocol != htons(ETH_P_ALL))
1728 net_notice_ratelimited("%u: reclassify loop, rule prio %u, protocol %02x\n",
1731 ntohs(tp->protocol));
1854 u32 protocol, u32 prio,
1864 u32 protocol, u32 prio,
1880 protocol, prio, false);
1939 u32 protocol, u32 prio,
1952 (tp->protocol != protocol && protocol))
1995 tcm->tcm_info = TC_H_MAKE(tp->prio, tp->protocol);
2131 u32 protocol;
2157 protocol = TC_H_MIN(t->tcm_info);
2230 tp = tcf_chain_tp_find(chain, &chain_info, protocol,
2233 NL_SET_ERR_MSG(extack, "Filter with specified priority/protocol not found");
2248 if (tca[TCA_KIND] == NULL || !protocol) {
2249 NL_SET_ERR_MSG(extack, "Filter kind and protocol must be specified");
2265 tp_new = tcf_proto_create(name, protocol, prio, chain,
2273 tp = tcf_chain_tp_insert_unique(chain, tp_new, protocol, prio,
2365 u32 protocol;
2385 protocol = TC_H_MIN(t->tcm_info);
2389 if (prio == 0 && (protocol || t->tcm_handle || tca[TCA_KIND])) {
2390 NL_SET_ERR_MSG(extack, "Cannot flush filters with protocol, handle or kind set");
2456 tp = tcf_chain_tp_find(chain, &chain_info, protocol,
2459 NL_SET_ERR_MSG(extack, "Filter with specified priority/protocol not found");
2522 u32 protocol;
2542 protocol = TC_H_MIN(t->tcm_info);
2597 tp = tcf_chain_tp_find(chain, &chain_info, protocol,
2601 NL_SET_ERR_MSG(extack, "Filter with specified priority/protocol not found");
2680 TC_H_MIN(tcm->tcm_info) != tp->protocol)