/linux/net/openvswitch/ |
H A D | conntrack.c | 124 u8 ct_state = OVS_CS_F_TRACKED; in ovs_ct_get_state() local 129 ct_state |= OVS_CS_F_REPLY_DIR; in ovs_ct_get_state() 138 ct_state |= OVS_CS_F_ESTABLISHED; in ovs_ct_get_state() 142 ct_state |= OVS_CS_F_RELATED; in ovs_ct_get_state() 145 ct_state |= OVS_CS_F_NEW; in ovs_ct_get_state() 151 return ct_state; in ovs_ct_get_state() 202 key->ct_state = state; in __ovs_ct_update_key() 264 state |= key->ct_state & OVS_CS_F_NAT_MASK; in ovs_ct_update_key() 293 if (nla_put_u32(skb, OVS_KEY_ATTR_CT_STATE, output->ct_state)) in ovs_ct_put_key() 547 *ct_executed = (key->ct_state & OVS_CS_F_TRACKED) && in ovs_ct_executed() [all …]
|
H A D | openvswitch_trace.h | 59 __entry->key_ct_state = key->ct_state; 69 TP_printk("dpaddr=%p dp_name=%s dev=%s skbaddr=%p len=%u data_len=%u truesize=%u nr_frags=%d gso_size=%d gso_type=%#x ovs_flow_hash=0x%08x recirc_id=0x%08x keyaddr=%p eth_type=0x%04x ct_state=%02x ct_orig_proto=%02x ct_Zone=%04x flow_key_valid=%d action_type=%u action_len=%u action_data=%p is_last=%d", 129 __entry->key_ct_state = key->ct_state; 138 TP_printk("dpaddr=%p dp_name=%s dev=%s skbaddr=%p len=%u data_len=%u truesize=%u nr_frags=%d gso_size=%d gso_type=%#x ovs_flow_hash=0x%08x recirc_id=0x%08x keyaddr=%p eth_type=0x%04x ct_state=%02x ct_orig_proto=%02x ct_zone=%04x flow_key_valid=%d upcall_cmd=%u upcall_port=%u upcall_mru=%u",
|
H A D | conntrack.h | 81 key->ct_state = 0; in ovs_ct_fill_key()
|
H A D | flow.h | 96 u8 ct_state; member
|
H A D | flow.c | 1067 key->ct_state &= ~OVS_CS_F_DST_NAT; in ovs_flow_key_extract() 1069 key->ct_state &= ~OVS_CS_F_SRC_NAT; in ovs_flow_key_extract()
|
H A D | flow_netlink.c | 1228 u32 ct_state = nla_get_u32(a[OVS_KEY_ATTR_CT_STATE]); in metadata_from_nlattrs() local 1230 if (ct_state & ~CT_SUPPORTED_MASK) { in metadata_from_nlattrs() 1232 ct_state); in metadata_from_nlattrs() 1236 SW_FLOW_KEY_PUT(match, ct_state, ct_state, is_mask); in metadata_from_nlattrs() 1973 key->ct_state = 0; in ovs_nla_get_flow_metadata()
|
/linux/arch/powerpc/kernel/ |
H A D | interrupt.c | 269 CT_WARN_ON(ct_state() == CT_STATE_USER); in syscall_exit_prepare() 347 CT_WARN_ON(ct_state() == CT_STATE_USER); in interrupt_exit_user_prepare() 389 CT_WARN_ON(ct_state() == CT_STATE_USER); in interrupt_exit_kernel_prepare()
|
H A D | syscall.c | 30 CT_WARN_ON(ct_state() == CT_STATE_KERNEL); in system_call_exception()
|
/linux/arch/powerpc/include/asm/ |
H A D | interrupt.h | 180 CT_WARN_ON(ct_state() != CT_STATE_USER); in interrupt_enter_prepare() 192 CT_WARN_ON(ct_state() != CT_STATE_KERNEL && in interrupt_enter_prepare() 193 ct_state() != CT_STATE_IDLE); in interrupt_enter_prepare()
|
/linux/drivers/net/ethernet/mellanox/mlx5/core/en/ |
H A D | tc_ct.c | 565 u8 ct_state, in mlx5_tc_ct_entry_set_registers() argument 575 CTSTATE_TO_REG, ct_state); in mlx5_tc_ct_entry_set_registers() 726 u16 ct_state = 0; in mlx5_tc_ct_entry_create_mod_hdr() local 745 ct_state |= MLX5_CT_STATE_NAT_BIT; in mlx5_tc_ct_entry_create_mod_hdr() 748 ct_state |= MLX5_CT_STATE_TRK_BIT; in mlx5_tc_ct_entry_create_mod_hdr() 749 ct_state |= ctinfo == IP_CT_NEW ? MLX5_CT_STATE_NEW_BIT : MLX5_CT_STATE_ESTABLISHED_BIT; in mlx5_tc_ct_entry_create_mod_hdr() 750 ct_state |= meta->ct_metadata.orig_dir ? 0 : MLX5_CT_STATE_REPLY_BIT; in mlx5_tc_ct_entry_create_mod_hdr() 752 ct_state, in mlx5_tc_ct_entry_create_mod_hdr() 1459 u16 ct_state, ct_state_mask; in mlx5_tc_ct_match_add() local 1477 ct_state = key->ct_state; in mlx5_tc_ct_match_add() [all …]
|
/linux/include/linux/ |
H A D | context_tracking_state.h | 128 static __always_inline int ct_state(void) in ct_state() function
|
H A D | context_tracking.h | 100 static inline int ct_state(void) { return -1; } in ct_state() function
|
/linux/include/net/ |
H A D | flow_dissector.h | 275 u16 ct_state; member
|
/linux/kernel/entry/ |
H A D | common.c | 185 CT_WARN_ON(ct_state() != CT_STATE_KERNEL); in syscall_exit_to_user_mode_prepare()
|
/linux/drivers/net/ethernet/sfc/ |
H A D | tc.c | 439 match->value.ct_state_trk = !!(fm.key->ct_state & TCA_FLOWER_KEY_CT_FLAGS_TRACKED); in efx_tc_flower_parse_match() 440 match->mask.ct_state_trk = !!(fm.mask->ct_state & TCA_FLOWER_KEY_CT_FLAGS_TRACKED); in efx_tc_flower_parse_match() 441 match->value.ct_state_est = !!(fm.key->ct_state & TCA_FLOWER_KEY_CT_FLAGS_ESTABLISHED); in efx_tc_flower_parse_match() 442 match->mask.ct_state_est = !!(fm.mask->ct_state & TCA_FLOWER_KEY_CT_FLAGS_ESTABLISHED); in efx_tc_flower_parse_match() 443 if (fm.mask->ct_state & ~(TCA_FLOWER_KEY_CT_FLAGS_TRACKED | in efx_tc_flower_parse_match() 447 fm.mask->ct_state); in efx_tc_flower_parse_match()
|
/linux/net/sched/ |
H A D | cls_flower.c | 1761 fl_set_key_val(tb, &key->ct_state, TCA_FLOWER_KEY_CT_STATE, in fl_set_key_ct() 1762 &mask->ct_state, TCA_FLOWER_KEY_CT_STATE_MASK, in fl_set_key_ct() 1763 sizeof(key->ct_state)); in fl_set_key_ct() 1765 err = fl_validate_ct_state(key->ct_state & mask->ct_state, in fl_set_key_ct() 3308 fl_dump_key_val(skb, &key->ct_state, TCA_FLOWER_KEY_CT_STATE, in fl_dump_key_ct() 3309 &mask->ct_state, TCA_FLOWER_KEY_CT_STATE_MASK, in fl_dump_key_ct() 3310 sizeof(key->ct_state))) in fl_dump_key_ct()
|
/linux/arch/arm64/kernel/ |
H A D | entry-common.c | 106 CT_WARN_ON(ct_state() != CT_STATE_USER); in __enter_from_user_mode()
|
/linux/net/core/ |
H A D | flow_dissector.c | 343 key->ct_state = TCA_FLOWER_KEY_CT_FLAGS_TRACKED | in skb_flow_dissect_ct() 350 key->ct_state = ctinfo_map[ctinfo]; in skb_flow_dissect_ct()
|
/linux/drivers/net/ethernet/netronome/nfp/flower/ |
H A D | conntrack.c | 66 if (ct.key->ct_state) in is_pre_ct_flow() 99 if (ct.key->ct_state & TCA_FLOWER_KEY_CT_FLAGS_ESTABLISHED) in is_post_ct_flow()
|
/linux/kernel/sched/ |
H A D | core.c | 5960 SCHED_WARN_ON(ct_state() == CT_STATE_USER); in schedule_debug()
|