Lines Matching refs:pid
6919 static void niu_ethflow_to_l3proto(int flow_type, u8 *pid) in niu_ethflow_to_l3proto() argument
6924 *pid = IPPROTO_TCP; in niu_ethflow_to_l3proto()
6928 *pid = IPPROTO_UDP; in niu_ethflow_to_l3proto()
6932 *pid = IPPROTO_SCTP; in niu_ethflow_to_l3proto()
6936 *pid = IPPROTO_AH; in niu_ethflow_to_l3proto()
6940 *pid = IPPROTO_ESP; in niu_ethflow_to_l3proto()
6943 *pid = 0; in niu_ethflow_to_l3proto()
7363 u8 pid = 0; in niu_get_tcamkey_from_ip4fs() local
7398 niu_ethflow_to_l3proto(fsp->flow_type, &pid); in niu_get_tcamkey_from_ip4fs()
7407 niu_ethflow_to_l3proto(fsp->flow_type, &pid); in niu_get_tcamkey_from_ip4fs()
7415 pid = fsp->h_u.usr_ip4_spec.proto; in niu_get_tcamkey_from_ip4fs()
7421 tp->key[2] |= ((u64)pid << TCAM_V4KEY2_PROTO_SHIFT); in niu_get_tcamkey_from_ip4fs()
7422 if (pid) { in niu_get_tcamkey_from_ip4fs()