Home
last modified time | relevance | path

Searched defs:ct (Results 1 – 25 of 217) sorted by relevance

123456789

/linux/include/net/netfilter/
H A Dnf_conntrack.h140 static inline u_int16_t nf_ct_l3num(const struct nf_conn *ct) in nf_ct_l3num()
145 static inline u_int8_t nf_ct_protonum(const struct nf_conn *ct) in nf_ct_protonum()
150 #define nf_ct_tuple(ct, dir) (&(ct)->tuplehash[dir].tuple) argument
157 static inline struct net *nf_ct_net(const struct nf_conn *ct) in nf_ct_net()
182 static inline void nf_ct_put(struct nf_conn *ct) in nf_ct_put()
188 static inline bool nf_ct_shared(const struct nf_conn *ct) in nf_ct_shared()
214 static inline void nf_ct_refresh_acct(struct nf_conn *ct, in nf_ct_refresh_acct()
223 static inline void nf_ct_refresh(struct nf_conn *ct, in nf_ct_refresh()
234 static inline bool nf_ct_kill(struct nf_conn *ct) in nf_ct_kill()
263 static inline int nf_ct_is_template(const struct nf_conn *ct) in nf_ct_is_template()
[all …]
H A Dnf_conntrack_synproxy.h14 static inline struct nf_conn_synproxy *nfct_synproxy(const struct nf_conn *ct) in nfct_synproxy()
23 static inline struct nf_conn_synproxy *nfct_synproxy_ext_add(struct nf_conn *ct) in nfct_synproxy_ext_add()
32 static inline bool nf_ct_add_synproxy(struct nf_conn *ct, in nf_ct_add_synproxy()
H A Dnf_conntrack_act_ct.h14 static inline struct nf_conn_act_ct_ext *nf_conn_act_ct_ext_find(const struct nf_conn *ct) in nf_conn_act_ct_ext_find()
23 static inline void nf_conn_act_ct_ext_fill(struct sk_buff *skb, struct nf_conn *ct, in nf_conn_act_ct_ext_fill()
37 struct nf_conn *ct, in nf_conn_act_ct_ext_add()
/linux/net/netfilter/
H A Dnf_conntrack_netlink.c166 static int ctnetlink_dump_status(struct sk_buff *skb, const struct nf_conn *ct) in ctnetlink_dump_status()
176 static int ctnetlink_dump_timeout(struct sk_buff *skb, const struct nf_conn *ct, in ctnetlink_dump_timeout()
197 static int ctnetlink_dump_protoinfo(struct sk_buff *skb, struct nf_conn *ct, in ctnetlink_dump_protoinfo()
223 const struct nf_conn *ct) in ctnetlink_dump_helpinfo()
293 ctnetlink_dump_acct(struct sk_buff *skb, const struct nf_conn *ct, int type) in ctnetlink_dump_acct()
309 ctnetlink_dump_timestamp(struct sk_buff *skb, const struct nf_conn *ct) in ctnetlink_dump_timestamp()
337 static int ctnetlink_dump_mark(struct sk_buff *skb, const struct nf_conn *ct, in ctnetlink_dump_mark()
357 static int ctnetlink_dump_secctx(struct sk_buff *skb, const struct nf_conn *ct) in ctnetlink_dump_secctx()
387 ctnetlink_dump_event_timestamp(struct sk_buff *skb, const struct nf_conn *ct) in ctnetlink_dump_event_timestamp()
403 static inline int ctnetlink_label_size(const struct nf_conn *ct) in ctnetlink_label_size()
[all …]
H A Dnf_conntrack_core.c481 u32 nf_ct_get_id(const struct nf_conn *ct) in nf_ct_get_id()
508 clean_from_lists(struct nf_conn *ct) in clean_from_lists()
561 static void destroy_gre_conntrack(struct nf_conn *ct) in destroy_gre_conntrack()
594 struct nf_conn *ct = (struct nf_conn *)nfct; in nf_ct_destroy() local
620 static void __nf_ct_delete_from_lists(struct nf_conn *ct) in __nf_ct_delete_from_lists()
640 static void nf_ct_delete_from_lists(struct nf_conn *ct) in nf_ct_delete_from_lists()
650 static void nf_ct_add_to_ecache_list(struct nf_conn *ct) in nf_ct_add_to_ecache_list()
662 bool nf_ct_delete(struct nf_conn *ct, u32 portid, int report) in nf_ct_delete()
709 struct nf_conn *ct = nf_ct_tuplehash_to_ctrack(h); in nf_ct_key_equal() local
733 static void nf_ct_gc_expired(struct nf_conn *ct) in nf_ct_gc_expired()
[all …]
H A Dnf_nat_core.c53 const struct nf_conn *ct, in nf_nat_ipv4_decode_session() argument
81 const struct nf_conn *ct, in nf_nat_ipv6_decode_session() argument
112 const struct nf_conn *ct; in __nf_nat_decode_session() local
217 nf_nat_allow_clash(const struct nf_conn * ct) nf_nat_allow_clash() argument
240 struct nf_conn *ct; nf_nat_used_tuple_new() local
299 nf_nat_may_kill(struct nf_conn * ct,unsigned long flags) nf_nat_may_kill() argument
335 struct nf_conn *ct; nf_nat_used_tuple_harder() local
442 same_src(const struct nf_conn * ct,const struct nf_conntrack_tuple * tuple) same_src() argument
462 const struct nf_conn *ct; find_appropriate_src() local
490 find_best_ips_proto(const struct nf_conntrack_zone * zone,struct nf_conntrack_tuple * tuple,const struct nf_nat_range2 * range,const struct nf_conn * ct,enum nf_nat_manip_type maniptype) find_best_ips_proto() argument
562 nf_nat_l4proto_unique_tuple(struct nf_conntrack_tuple * tuple,const struct nf_nat_range2 * range,enum nf_nat_manip_type maniptype,const struct nf_conn * ct) nf_nat_l4proto_unique_tuple() argument
686 get_unique_tuple(struct nf_conntrack_tuple * tuple,const struct nf_conntrack_tuple * orig_tuple,const struct nf_nat_range2 * range,struct nf_conn * ct,enum nf_nat_manip_type maniptype) get_unique_tuple() argument
745 nf_ct_nat_ext_add(struct nf_conn * ct) nf_ct_nat_ext_add() argument
759 nf_nat_setup_info(struct nf_conn * ct,const struct nf_nat_range2 * range,enum nf_nat_manip_type maniptype) nf_nat_setup_info() argument
828 __nf_nat_alloc_null_binding(struct nf_conn * ct,enum nf_nat_manip_type manip) __nf_nat_alloc_null_binding() argument
847 nf_nat_alloc_null_binding(struct nf_conn * ct,unsigned int hooknum) nf_nat_alloc_null_binding() argument
854 nf_nat_packet(struct nf_conn * ct,enum ip_conntrack_info ctinfo,unsigned int hooknum,struct sk_buff * skb) nf_nat_packet() argument
895 struct nf_conn *ct; nf_nat_inet_fn() local
983 nf_nat_cleanup_conntrack(struct nf_conn * ct) nf_nat_cleanup_conntrack() argument
993 nf_nat_proto_clean(struct nf_conn * ct,void * data) nf_nat_proto_clean() argument
1039 nfnetlink_parse_nat_proto(struct nlattr * attr,const struct nf_conn * ct,struct nf_nat_range2 * range) nfnetlink_parse_nat_proto() argument
1095 nfnetlink_parse_nat(const struct nlattr * nat,const struct nf_conn * ct,struct nf_nat_range2 * range) nfnetlink_parse_nat() argument
1130 nfnetlink_parse_nat_setup(struct nf_conn * ct,enum nf_nat_manip_type manip,const struct nlattr * attr) nfnetlink_parse_nat_setup() argument
1155 nfnetlink_parse_nat_setup(struct nf_conn * ct,enum nf_nat_manip_type manip,const struct nlattr * attr) nfnetlink_parse_nat_setup() argument
[all...]
H A Dnf_conntrack_h323_main.c66 struct nf_conn *ct, enum ip_conntrack_info ctinfo, in get_tpkt_data()
175 static int get_h245_addr(struct nf_conn *ct, const unsigned char *data, in get_h245_addr()
209 static int expect_rtp_rtcp(struct sk_buff *skb, struct nf_conn *ct, in expect_rtp_rtcp()
284 struct nf_conn *ct, in expect_t120()
336 struct nf_conn *ct, in process_h245_channel()
364 static int process_olc(struct sk_buff *skb, struct nf_conn *ct, in process_olc()
425 static int process_olca(struct sk_buff *skb, struct nf_conn *ct, in process_olca()
494 static int process_h245(struct sk_buff *skb, struct nf_conn *ct, in process_h245()
530 struct nf_conn *ct, enum ip_conntrack_info ctinfo) in h245_help()
586 int get_h225_addr(struct nf_conn *ct, unsigned char *data, in get_h225_addr()
[all …]
H A Dnf_conntrack_sip.c60 static int string_len(const struct nf_conn *ct, const char *dptr, in string_len()
72 static int digits_len(const struct nf_conn *ct, const char *dptr, in digits_len()
104 static int callid_len(const struct nf_conn *ct, const char *dptr, in callid_len()
123 static int media_len(const struct nf_conn *ct, const char *dptr, in media_len()
137 static int sip_parse_addr(const struct nf_conn *ct, const char *cp, in sip_parse_addr()
230 static int epaddr_len(const struct nf_conn *ct, const char *dptr, in epaddr_len()
247 static int skp_epaddr_len(const struct nf_conn *ct, const char *dptr, in skp_epaddr_len()
324 int ct_sip_parse_request(const struct nf_conn *ct, in ct_sip_parse_request()
447 int ct_sip_get_header(const struct nf_conn *ct, const char *dptr, in ct_sip_get_header()
515 static int ct_sip_next_header(const struct nf_conn *ct, const char *dptr, in ct_sip_next_header()
[all …]
H A Dxt_conntrack.c40 conntrack_mt_origsrc(const struct nf_conn *ct, in conntrack_mt_origsrc()
49 conntrack_mt_origdst(const struct nf_conn *ct, in conntrack_mt_origdst()
58 conntrack_mt_replsrc(const struct nf_conn *ct, in conntrack_mt_replsrc()
67 conntrack_mt_repldst(const struct nf_conn *ct, in conntrack_mt_repldst()
77 const struct nf_conn *ct) in ct_proto_port_check()
121 const struct nf_conn *ct) in ct_proto_port_check_v3()
167 const struct nf_conn *ct; in conntrack_mt() local
H A Dnf_nat_sip.c41 struct nf_conn *ct = nf_ct_get(skb, &ctinfo); in mangle_packet() local
70 static int sip_sprintf_addr(const struct nf_conn *ct, char *buffer, in sip_sprintf_addr()
84 static int sip_sprintf_addr_port(const struct nf_conn *ct, char *buffer, in sip_sprintf_addr_port()
101 struct nf_conn *ct = nf_ct_get(skb, &ctinfo); in map_addr() local
138 struct nf_conn *ct = nf_ct_get(skb, &ctinfo); in map_sip_addr() local
155 struct nf_conn *ct = nf_ct_get(skb, &ctinfo); in nf_nat_sip() local
332 struct nf_conn *ct = nf_ct_get(skb, &ctinfo); in nf_nat_sip_seq_adjust() local
343 static void nf_nat_sip_expected(struct nf_conn *ct, in nf_nat_sip_expected()
409 struct nf_conn *ct = nf_ct_get(skb, &ctinfo); in nf_nat_sip_expect() local
472 struct nf_conn *ct = nf_ct_get(skb, &ctinfo); in mangle_content_len() local
[all …]
H A Dxt_nat.c66 struct nf_conn *ct; in xt_snat_target_v0() local
83 struct nf_conn *ct; in xt_dnat_target_v0() local
99 struct nf_conn *ct; in xt_snat_target_v1() local
118 struct nf_conn *ct; in xt_dnat_target_v1() local
135 struct nf_conn *ct; in xt_snat_target_v2() local
150 struct nf_conn *ct; in xt_dnat_target_v2() local
H A Dnf_conntrack_proto_sctp.c134 static void sctp_print_conntrack(struct seq_file *s, struct nf_conn *ct) in sctp_print_conntrack()
148 static int do_basic_checks(struct nf_conn *ct, in do_basic_checks()
240 sctp_new(struct nf_conn *ct, const struct sk_buff *skb, in sctp_new()
327 int nf_conntrack_sctp_packet(struct nf_conn *ct, in nf_conntrack_sctp_packet()
540 static bool sctp_can_early_drop(const struct nf_conn *ct) in sctp_can_early_drop()
560 struct nf_conn *ct, bool destroy) in sctp_to_nlattr()
604 static int nlattr_to_sctp(struct nlattr *cda[], struct nf_conn *ct) in nlattr_to_sctp()
H A Dnf_conntrack_ecache.c67 struct nf_conn *ct = nf_ct_tuplehash_to_ctrack(h); in ecache_work_evict_list() local
95 struct nf_conn *ct = nf_ct_tuplehash_to_ctrack(h); in ecache_work_evict_list() local
173 int nf_conntrack_eventmask_report(unsigned int events, struct nf_conn *ct, in nf_conntrack_eventmask_report()
214 void nf_ct_deliver_cached_events(struct nf_conn *ct) in nf_ct_deliver_cached_events()
307 static void nf_ct_ecache_tstamp_new(const struct nf_conn *ct, struct nf_conntrack_ecache *e) in nf_ct_ecache_tstamp_new()
319 bool nf_ct_ecache_ext_add(struct nf_conn *ct, u16 ctmask, u16 expmask, gfp_t gfp) in nf_ct_ecache_ext_add()
H A Dxt_cluster.c16 static inline u32 nf_ct_orig_ipv4_src(const struct nf_conn *ct) in nf_ct_orig_ipv4_src()
21 static inline const u32 *nf_ct_orig_ipv6_src(const struct nf_conn *ct) in nf_ct_orig_ipv6_src()
39 xt_cluster_hash(const struct nf_conn *ct, in xt_cluster_hash()
83 const struct nf_conn *ct; in xt_cluster_mt() local
H A Dnf_conntrack_proto_tcp.c266 static void tcp_print_conntrack(struct seq_file *s, struct nf_conn *ct) in tcp_print_conntrack()
498 nf_tcp_store_invalid(const struct nf_conn *ct, in nf_tcp_store_invalid()
518 const struct nf_conn *ct, in nf_tcp_log_invalid()
554 tcp_in_window(struct nf_conn *ct, enum ip_conntrack_dir dir, in tcp_in_window()
765 nf_tcp_handle_invalid(struct nf_conn *ct, enum ip_conntrack_dir dir, int index) in nf_tcp_handle_invalid()
876 static noinline bool tcp_new(struct nf_conn *ct, const struct sk_buff *skb, in tcp_new()
939 static bool tcp_can_early_drop(const struct nf_conn *ct) in tcp_can_early_drop()
955 void nf_conntrack_tcp_set_closing(struct nf_conn *ct) in nf_conntrack_tcp_set_closing()
1001 int nf_conntrack_tcp_packet(struct nf_conn *ct, in nf_conntrack_tcp_packet()
1392 struct nf_conn *ct, bool destroy) in tcp_to_nlattr()
[all …]
/linux/tools/testing/selftests/bpf/progs/
H A Dtest_bpf_nf_fail.c33 struct nf_conn *ct; alloc_release() local
47 struct nf_conn *ct; insert_insert() local
64 struct nf_conn *ct; lookup_insert() local
78 struct nf_conn *ct; write_not_allowlisted_field() local
92 struct nf_conn *ct; set_timeout_after_insert() local
109 struct nf_conn *ct; set_status_after_insert() local
126 struct nf_conn *ct; change_timeout_after_alloc() local
140 struct nf_conn *ct; change_status_after_alloc() local
[all...]
/linux/kernel/irq/
H A Dgeneric-chip.c40 struct irq_chip_type *ct = irq_data_get_chip_type(d); in irq_gc_mask_disable_reg() local
59 struct irq_chip_type *ct = irq_data_get_chip_type(d); in irq_gc_mask_set_bit() local
78 struct irq_chip_type *ct = irq_data_get_chip_type(d); in irq_gc_mask_clr_bit() local
97 struct irq_chip_type *ct = irq_data_get_chip_type(d); in irq_gc_unmask_enable_reg() local
113 struct irq_chip_type *ct = irq_data_get_chip_type(d); in irq_gc_ack_set_bit() local
128 struct irq_chip_type *ct = irq_data_get_chip_type(d); in irq_gc_ack_clr_bit() local
150 struct irq_chip_type *ct = irq_data_get_chip_type(d); in irq_gc_mask_disable_and_ack_set() local
167 struct irq_chip_type *ct = irq_data_get_chip_type(d); in irq_gc_eoi() local
214 struct irq_chip_type *ct = gc->chip_types; in irq_init_generic_chip() local
255 struct irq_chip_type *ct = gc->chip_types; in irq_gc_init_mask_cache() local
[all …]
/linux/drivers/macintosh/
H A Dwindfarm_cpufreq_clamp.c22 static int clamp_set(struct wf_control *ct, s32 value) in clamp_set()
39 static int clamp_get(struct wf_control *ct, s32 *value) in clamp_get()
45 static s32 clamp_min(struct wf_control *ct) in clamp_min()
50 static s32 clamp_max(struct wf_control *ct) in clamp_max()
H A Dwindfarm.h61 static inline int wf_control_set_max(struct wf_control *ct) in wf_control_set_max()
67 static inline int wf_control_set_min(struct wf_control *ct) in wf_control_set_min()
73 static inline int wf_control_set(struct wf_control *ct, s32 val) in wf_control_set()
78 static inline int wf_control_get(struct wf_control *ct, s32 *val) in wf_control_get()
83 static inline s32 wf_control_get_min(struct wf_control *ct) in wf_control_get_min()
88 static inline s32 wf_control_get_max(struct wf_control *ct) in wf_control_get_max()
H A Dwindfarm_core.c149 struct wf_control *ct = container_of(kref, struct wf_control, ref); in wf_control_release() local
209 struct wf_control *ct; in wf_register_control() local
242 void wf_unregister_control(struct wf_control *ct) in wf_unregister_control()
254 int wf_get_control(struct wf_control *ct) in wf_get_control()
263 void wf_put_control(struct wf_control *ct) in wf_put_control()
374 struct wf_control *ct; in wf_register_client() local
H A Dwindfarm_smu_controls.c109 static void smu_fan_release(struct wf_control *ct) in smu_fan_release()
116 static int smu_fan_set(struct wf_control *ct, s32 value) in smu_fan_set()
129 static int smu_fan_get(struct wf_control *ct, s32 *value) in smu_fan_get()
136 static s32 smu_fan_min(struct wf_control *ct) in smu_fan_min()
142 static s32 smu_fan_max(struct wf_control *ct) in smu_fan_max()
/linux/net/netfilter/ipvs/
H A Dip_vs_nfct.c73 struct nf_conn *ct = nf_ct_get(skb, &ctinfo); in ip_vs_update_conntrack() local
139 static void ip_vs_nfct_expect_callback(struct nf_conn *ct, in ip_vs_nfct_expect_callback()
210 void ip_vs_nfct_expect_related(struct sk_buff *skb, struct nf_conn *ct, in ip_vs_nfct_expect_related()
244 struct nf_conn *ct; in ip_vs_conn_drop_conntrack() local
/linux/net/ipv4/netfilter/
H A Dnf_nat_h323.c28 struct nf_conn *ct = nf_ct_get(skb, &ctinfo); in set_addr() local
92 static int set_sig_addr(struct sk_buff *skb, struct nf_conn *ct, in set_sig_addr()
148 static int set_ras_addr(struct sk_buff *skb, struct nf_conn *ct, in set_ras_addr()
177 static int nat_rtp_rtcp(struct sk_buff *skb, struct nf_conn *ct, in nat_rtp_rtcp()
278 static int nat_t120(struct sk_buff *skb, struct nf_conn *ct, in nat_t120()
316 static int nat_h245(struct sk_buff *skb, struct nf_conn *ct, in nat_h245()
397 static int nat_q931(struct sk_buff *skb, struct nf_conn *ct, in nat_q931()
483 static int nat_callforwarding(struct sk_buff *skb, struct nf_conn *ct, in nat_callforwarding()
/linux/net/openvswitch/
H A Dconntrack.c64 struct nf_conn *ct; member
154 static u32 ovs_ct_get_mark(const struct nf_conn *ct) in ovs_ct_get_mark()
168 static void ovs_ct_get_labels(const struct nf_conn *ct, in ovs_ct_get_labels()
200 const struct nf_conn *ct) in __ovs_ct_update_key()
249 struct nf_conn *ct; in ovs_ct_update_key() local
344 static int ovs_ct_set_mark(struct nf_conn *ct, struct sw_flow_key *key, in ovs_ct_set_mark()
364 static struct nf_conn_labels *ovs_ct_get_conn_labels(struct nf_conn *ct) in ovs_ct_get_conn_labels()
381 static int ovs_ct_init_labels(struct nf_conn *ct, struct sw_flow_key *key, in ovs_ct_init_labels()
422 static int ovs_ct_set_labels(struct nf_conn *ct, struct sw_flow_key *key, in ovs_ct_set_labels()
468 const struct nf_conn *ct = nf_ct_tuplehash_to_ctrack(h); in ovs_ct_get_info() local
[all …]
/linux/drivers/irqchip/
H A Dirq-ingenic-tcu.c51 struct irq_chip_type *ct = irq_data_get_chip_type(d); in ingenic_tcu_gc_unmask_enable_reg() local
64 struct irq_chip_type *ct = irq_data_get_chip_type(d); in ingenic_tcu_gc_mask_disable_reg() local
76 struct irq_chip_type *ct = irq_data_get_chip_type(d); in ingenic_tcu_gc_mask_disable_reg_and_ack() local
89 struct irq_chip_type *ct; in ingenic_tcu_irq_init() local

123456789