Home
last modified time | relevance | path

Searched refs:flow_type (Results 1 – 13 of 13) sorted by relevance

/freebsd-12.1/sys/netgraph/netflow/
H A Dnetflow_v9.c249 uint16_t flow_type; in export9_add() local
265 flow_type = fed->r.flow_type; in export9_add()
267 switch (flow_type) { in export9_add()
332 CTR1(KTR_NET, "export9_add(): Don't know what to do with %d flow type!", flow_type); in export9_add()
338 if (flow_type != t->flow_type) { in export9_add()
340 if (t->flow_type != 0) in export9_add()
343 t->flow_type = flow_type; in export9_add()
347 fsh.id = htons(NETFLOW_V9_MAX_RESERVED_FLOWSET + flow_type); in export9_add()
H A Dng_netflow.h194 uint16_t flow_type; member
217 uint16_t flow_type; member
H A Dnetflow_v9.h147 uint16_t flow_type; /* current flowset */ member
H A Dnetflow.c711 r.flow_type = NETFLOW_V9_FLOW_V4_L4; in ng_netflow_flow_add()
839 r.flow_type = NETFLOW_V9_FLOW_V6_L4; in ng_netflow_flow6_add()
/freebsd-12.1/sys/dev/ixgbe/
H A Dif_fdir.c117 input.formatted.flow_type ^= IXGBE_ATR_FLOW_TYPE_TCPV4; in ixgbe_atr()
124 input.formatted.flow_type ^= IXGBE_ATR_FLOW_TYPE_UDPV4; in ixgbe_atr()
H A Dixgbe_82599.c1546 u8 flow_type; in ixgbe_fdir_add_signature_filter_82599() local
1557 tunnel = !!(input.formatted.flow_type & IXGBE_ATR_L4TYPE_TUNNEL_MASK); in ixgbe_fdir_add_signature_filter_82599()
1558 flow_type = input.formatted.flow_type & in ixgbe_fdir_add_signature_filter_82599()
1560 switch (flow_type) { in ixgbe_fdir_add_signature_filter_82599()
1576 fdircmd |= (u32)flow_type << IXGBE_FDIRCMD_FLOW_TYPE_SHIFT; in ixgbe_fdir_add_signature_filter_82599()
1734 switch (input_mask->formatted.flow_type & IXGBE_ATR_L4TYPE_MASK) { in ixgbe_fdir_set_input_mask_82599()
1949 if (input->formatted.flow_type & IXGBE_ATR_L4TYPE_TUNNEL_MASK) in ixgbe_fdir_write_perfect_filter_82599()
1951 fdircmd |= input->formatted.flow_type << IXGBE_FDIRCMD_FLOW_TYPE_SHIFT; in ixgbe_fdir_write_perfect_filter_82599()
2027 switch (input->formatted.flow_type) { in ixgbe_fdir_add_perfect_filter_82599()
2030 input_mask->formatted.flow_type = IXGBE_ATR_L4TYPE_IPV6_MASK; in ixgbe_fdir_add_perfect_filter_82599()
[all …]
H A Dixgbe_type.h3542 u8 flow_type; member
3561 u8 flow_type; member
/freebsd-12.1/contrib/tcpdump/
H A Dprint-sflow.c714 u_int flow_type; in sflow_print_flow_records() local
735 flow_type = enterprise & 0x0FFF; in sflow_print_flow_records()
740 (enterprise == 0) ? tok2str(sflow_flow_type_values,"Unknown",flow_type) : "Unknown", in sflow_print_flow_records()
741 flow_type, in sflow_print_flow_records()
751 switch (flow_type) { in sflow_print_flow_records()
/freebsd-12.1/sys/netinet/
H A Dip_input.c1310 uint32_t flowid, flow_type; in ip_savecontrol() local
1313 flow_type = M_HASHTYPE_GET(m); in ip_savecontrol()
1323 *mp = sbcreatecontrol((caddr_t) &flow_type, in ip_savecontrol()
1331 uint32_t flowid, flow_type; in ip_savecontrol() local
1335 flow_type = M_HASHTYPE_GET(m); in ip_savecontrol()
1337 if (rss_hash2bucket(flowid, flow_type, &rss_bucketid) == 0) { in ip_savecontrol()
/freebsd-12.1/sys/netinet6/
H A Dip6_input.c1593 uint32_t flowid, flow_type; in ip6_savecontrol() local
1596 flow_type = M_HASHTYPE_GET(m); in ip6_savecontrol()
1606 *mp = sbcreatecontrol((caddr_t) &flow_type, in ip6_savecontrol()
1614 uint32_t flowid, flow_type; in ip6_savecontrol() local
1618 flow_type = M_HASHTYPE_GET(m); in ip6_savecontrol()
1620 if (rss_hash2bucket(flowid, flow_type, &rss_bucketid) == 0) { in ip6_savecontrol()
/freebsd-12.1/sys/dev/mlx4/mlx4_core/
H A Dmlx4_mcg.c763 enum mlx4_net_trans_promisc_mode flow_type) in mlx4_map_sw_to_hw_steering_mode() argument
765 if (flow_type >= MLX4_FS_MODE_NUM) { in mlx4_map_sw_to_hw_steering_mode()
766 mlx4_err(dev, "Invalid flow type. type = %d\n", flow_type); in mlx4_map_sw_to_hw_steering_mode()
769 return __promisc_mode[flow_type]; in mlx4_map_sw_to_hw_steering_mode()
/freebsd-12.1/sys/dev/mlx4/mlx4_ib/
H A Dmlx4_ib_main.c1562 enum mlx4_net_trans_promisc_mode flow_type, in __mlx4_ib_create_flow() argument
1590 if (mlx4_map_sw_to_hw_steering_mode(mdev->dev, flow_type) < 0) in __mlx4_ib_create_flow()
1600 ctrl->type = mlx4_map_sw_to_hw_steering_mode(mdev->dev, flow_type); in __mlx4_ib_create_flow()
/freebsd-12.1/sys/dev/mlx4/
H A Ddevice.h1433 enum mlx4_net_trans_promisc_mode flow_type);