/kernel/linux/linux-5.10/drivers/gpu/drm/i915/gt/uc/ |
D | intel_guc_ct.c | 42 void intel_guc_ct_init_early(struct intel_guc_ct *ct) in intel_guc_ct_init_early() argument 44 spin_lock_init(&ct->requests.lock); in intel_guc_ct_init_early() 45 INIT_LIST_HEAD(&ct->requests.pending); in intel_guc_ct_init_early() 46 INIT_LIST_HEAD(&ct->requests.incoming); in intel_guc_ct_init_early() 47 INIT_WORK(&ct->requests.worker, ct_incoming_request_worker_func); in intel_guc_ct_init_early() 50 static inline struct intel_guc *ct_to_guc(struct intel_guc_ct *ct) in ct_to_guc() argument 52 return container_of(ct, struct intel_guc, ct); in ct_to_guc() 55 static inline struct intel_gt *ct_to_gt(struct intel_guc_ct *ct) in ct_to_gt() argument 57 return guc_to_gt(ct_to_guc(ct)); in ct_to_gt() 60 static inline struct drm_i915_private *ct_to_i915(struct intel_guc_ct *ct) in ct_to_i915() argument [all …]
|
D | intel_guc_ct.h | 62 void intel_guc_ct_init_early(struct intel_guc_ct *ct); 63 int intel_guc_ct_init(struct intel_guc_ct *ct); 64 void intel_guc_ct_fini(struct intel_guc_ct *ct); 65 int intel_guc_ct_enable(struct intel_guc_ct *ct); 66 void intel_guc_ct_disable(struct intel_guc_ct *ct); 68 static inline void intel_guc_ct_sanitize(struct intel_guc_ct *ct) in intel_guc_ct_sanitize() argument 70 ct->enabled = false; in intel_guc_ct_sanitize() 73 static inline bool intel_guc_ct_enabled(struct intel_guc_ct *ct) in intel_guc_ct_enabled() argument 75 return ct->enabled; in intel_guc_ct_enabled() 78 int intel_guc_ct_send(struct intel_guc_ct *ct, const u32 *action, u32 len, [all …]
|
/kernel/linux/linux-5.10/drivers/macintosh/ |
D | windfarm.h | 28 int (*set_value)(struct wf_control *ct, s32 val); 29 int (*get_value)(struct wf_control *ct, s32 *val); 30 s32 (*get_min)(struct wf_control *ct); 31 s32 (*get_max)(struct wf_control *ct); 32 void (*release)(struct wf_control *ct); 56 extern int wf_register_control(struct wf_control *ct); 57 extern void wf_unregister_control(struct wf_control *ct); 58 extern int wf_get_control(struct wf_control *ct); 59 extern void wf_put_control(struct wf_control *ct); 61 static inline int wf_control_set_max(struct wf_control *ct) in wf_control_set_max() argument [all …]
|
/kernel/linux/linux-5.10/drivers/video/fbdev/aty/ |
D | mach64_ct.c | 256 if ((err = aty_valid_pll_ct(info, vclk_per, &pll->ct))) in aty_var_to_pll_ct() 258 if (M64_HAS(GTB_DSP) && (err = aty_dsp_gt(info, bpp, &pll->ct))) in aty_var_to_pll_ct() 268 …ret = par->ref_clk_per * pll->ct.pll_ref_div * pll->ct.vclk_post_div_real / pll->ct.vclk_fb_div / … in aty_pll_to_var_ct() 270 if(pll->ct.xres > 0) { in aty_pll_to_var_ct() 272 ret /= pll->ct.xres; in aty_pll_to_var_ct() 292 pll->ct.pll_ext_cntl, pll->ct.pll_gen_cntl, pll->ct.pll_vclk_cntl); in aty_set_pll_ct() 296 par->clk_wr_offset, pll->ct.vclk_fb_div, in aty_set_pll_ct() 297 pll->ct.pll_ref_div, pll->ct.vclk_post_div, pll->ct.vclk_post_div_real); in aty_set_pll_ct() 314 aty_st_pll_ct(PLL_VCLK_CNTL, pll->ct.pll_vclk_cntl, par); in aty_set_pll_ct() 320 tmp |= ((pll->ct.vclk_post_div & 0x03U) << tmp2); in aty_set_pll_ct() [all …]
|
/kernel/linux/linux-5.10/net/netfilter/ |
D | nf_conntrack_core.c | 462 u32 nf_ct_get_id(const struct nf_conn *ct) in nf_ct_get_id() argument 469 a = (unsigned long)ct; in nf_ct_get_id() 470 b = (unsigned long)ct->master; in nf_ct_get_id() 471 c = (unsigned long)nf_ct_net(ct); in nf_ct_get_id() 472 d = (unsigned long)siphash(&ct->tuplehash[IP_CT_DIR_ORIGINAL].tuple, in nf_ct_get_id() 473 sizeof(ct->tuplehash[IP_CT_DIR_ORIGINAL].tuple), in nf_ct_get_id() 484 clean_from_lists(struct nf_conn *ct) in clean_from_lists() argument 486 pr_debug("clean_from_lists(%p)\n", ct); in clean_from_lists() 487 hlist_nulls_del_rcu(&ct->tuplehash[IP_CT_DIR_ORIGINAL].hnnode); in clean_from_lists() 488 hlist_nulls_del_rcu(&ct->tuplehash[IP_CT_DIR_REPLY].hnnode); in clean_from_lists() [all …]
|
D | nf_conntrack_h323_main.c | 64 struct nf_conn *ct, 69 struct nf_conn *ct, 74 struct nf_conn *ct, 83 struct nf_conn *ct, 90 struct nf_conn *ct, 97 struct nf_conn *ct, 104 struct nf_conn *ct, 119 struct nf_conn *ct, enum ip_conntrack_info ctinfo, in get_tpkt_data() argument 122 struct nf_ct_h323_master *info = nfct_help_data(ct); in get_tpkt_data() 221 static int get_h245_addr(struct nf_conn *ct, const unsigned char *data, in get_h245_addr() argument [all …]
|
D | nf_conntrack_proto_tcp.c | 274 static void tcp_print_conntrack(struct seq_file *s, struct nf_conn *ct) in tcp_print_conntrack() argument 276 if (test_bit(IPS_OFFLOAD_BIT, &ct->status)) in tcp_print_conntrack() 279 seq_printf(s, "%s ", tcp_conntrack_names[ct->proto.tcp.state]); in tcp_print_conntrack() 461 static bool tcp_in_window(const struct nf_conn *ct, in tcp_in_window() argument 469 struct net *net = nf_ct_net(ct); in tcp_in_window() 473 const struct nf_conntrack_tuple *tuple = &ct->tuplehash[dir].tuple; in tcp_in_window() 492 receiver_offset = nf_ct_seq_offset(ct, !dir, ack - 1); in tcp_in_window() 685 nf_ct_l4proto_log_invalid(skb, ct, in tcp_in_window() 748 if (state->net->ct.sysctl_checksum && in tcp_error() 765 static noinline bool tcp_new(struct nf_conn *ct, const struct sk_buff *skb, in tcp_new() argument [all …]
|
D | nf_nat_sip.c | 41 struct nf_conn *ct = nf_ct_get(skb, &ctinfo); in mangle_packet() local 45 if (nf_ct_protonum(ct) == IPPROTO_TCP) { in mangle_packet() 50 if (!__nf_nat_mangle_tcp_packet(skb, ct, ctinfo, in mangle_packet() 58 if (!nf_nat_mangle_udp_packet(skb, ct, ctinfo, in mangle_packet() 70 static int sip_sprintf_addr(const struct nf_conn *ct, char *buffer, in sip_sprintf_addr() argument 73 if (nf_ct_l3num(ct) == NFPROTO_IPV4) in sip_sprintf_addr() 83 static int sip_sprintf_addr_port(const struct nf_conn *ct, char *buffer, in sip_sprintf_addr_port() argument 86 if (nf_ct_l3num(ct) == NFPROTO_IPV4) in sip_sprintf_addr_port() 99 struct nf_conn *ct = nf_ct_get(skb, &ctinfo); in map_addr() local 101 struct nf_ct_sip_master *ct_sip_info = nfct_help_data(ct); in map_addr() [all …]
|
D | xt_CT.c | 20 static inline int xt_ct_target(struct sk_buff *skb, struct nf_conn *ct) in xt_ct_target() argument 26 if (ct) { in xt_ct_target() 27 atomic_inc(&ct->ct_general.use); in xt_ct_target() 28 nf_ct_set(skb, ct, IP_CT_NEW); in xt_ct_target() 30 nf_ct_set(skb, ct, IP_CT_UNTRACKED); in xt_ct_target() 40 struct nf_conn *ct = info->ct; in xt_ct_target_v0() local 42 return xt_ct_target(skb, ct); in xt_ct_target_v0() 49 struct nf_conn *ct = info->ct; in xt_ct_target_v1() local 51 return xt_ct_target(skb, ct); in xt_ct_target_v1() 73 xt_ct_set_helper(struct nf_conn *ct, const char *helper_name, in xt_ct_set_helper() argument [all …]
|
D | nf_conntrack_proto_dccp.c | 384 dccp_new(struct nf_conn *ct, const struct sk_buff *skb, in dccp_new() argument 387 struct net *net = nf_ct_net(ct); in dccp_new() 408 ct->proto.dccp.role[IP_CT_DIR_ORIGINAL] = CT_DCCP_ROLE_CLIENT; in dccp_new() 409 ct->proto.dccp.role[IP_CT_DIR_REPLY] = CT_DCCP_ROLE_SERVER; in dccp_new() 410 ct->proto.dccp.state = CT_DCCP_NONE; in dccp_new() 411 ct->proto.dccp.last_pkt = DCCP_PKT_REQUEST; in dccp_new() 412 ct->proto.dccp.last_dir = IP_CT_DIR_ORIGINAL; in dccp_new() 413 ct->proto.dccp.handshake_seq = 0; in dccp_new() 417 nf_ct_l4proto_log_invalid(skb, ct, "%s", msg); in dccp_new() 464 state->net->ct.sysctl_checksum && in dccp_error() [all …]
|
D | nf_conntrack_ecache.c | 52 struct nf_conn *ct = nf_ct_tuplehash_to_ctrack(h); in ecache_work_evict_list() local 55 if (!nf_ct_is_confirmed(ct)) in ecache_work_evict_list() 66 e = nf_ct_ecache_find(ct); in ecache_work_evict_list() 74 if (nf_conntrack_event(IPCT_DESTROY, ct)) { in ecache_work_evict_list() 80 refs[evicted] = ct; in ecache_work_evict_list() 133 int nf_conntrack_eventmask_report(unsigned int eventmask, struct nf_conn *ct, in nf_conntrack_eventmask_report() argument 137 struct net *net = nf_ct_net(ct); in nf_conntrack_eventmask_report() 142 notify = rcu_dereference(net->ct.nf_conntrack_event_cb); in nf_conntrack_eventmask_report() 146 e = nf_ct_ecache_find(ct); in nf_conntrack_eventmask_report() 150 if (nf_ct_is_confirmed(ct)) { in nf_conntrack_eventmask_report() [all …]
|
D | nf_nat_core.c | 56 const struct nf_conn *ct, in nf_nat_ipv4_decode_session() argument 61 const struct nf_conntrack_tuple *t = &ct->tuplehash[dir].tuple; in nf_nat_ipv4_decode_session() 64 if (ct->status & statusbit) { in nf_nat_ipv4_decode_session() 76 if (ct->status & statusbit) { in nf_nat_ipv4_decode_session() 88 const struct nf_conn *ct, in nf_nat_ipv6_decode_session() argument 94 const struct nf_conntrack_tuple *t = &ct->tuplehash[dir].tuple; in nf_nat_ipv6_decode_session() 97 if (ct->status & statusbit) { in nf_nat_ipv6_decode_session() 109 if (ct->status & statusbit) { in nf_nat_ipv6_decode_session() 123 const struct nf_conn *ct; in __nf_nat_decode_session() local 129 ct = nf_ct_get(skb, &ctinfo); in __nf_nat_decode_session() [all …]
|
D | nf_conntrack_proto_sctp.c | 139 static void sctp_print_conntrack(struct seq_file *s, struct nf_conn *ct) in sctp_print_conntrack() argument 141 seq_printf(s, "%s ", sctp_conntrack_names[ct->proto.sctp.state]); in sctp_print_conntrack() 152 static int do_basic_checks(struct nf_conn *ct, in do_basic_checks() argument 261 sctp_new(struct nf_conn *ct, const struct sk_buff *skb, in sctp_new() argument 269 memset(&ct->proto.sctp, 0, sizeof(ct->proto.sctp)); in sctp_new() 297 ct->proto.sctp.vtag[IP_CT_DIR_REPLY] = ih->init_tag; in sctp_new() 301 ct->proto.sctp.vtag[IP_CT_DIR_ORIGINAL] = sh->vtag; in sctp_new() 307 ct->proto.sctp.vtag[IP_CT_DIR_REPLY] = sh->vtag; in sctp_new() 310 ct->proto.sctp.state = SCTP_CONNTRACK_NONE; in sctp_new() 328 state->net->ct.sysctl_checksum && in sctp_error() [all …]
|
D | nf_conntrack_netlink.c | 160 static int ctnetlink_dump_status(struct sk_buff *skb, const struct nf_conn *ct) in ctnetlink_dump_status() argument 162 if (nla_put_be32(skb, CTA_STATUS, htonl(ct->status))) in ctnetlink_dump_status() 170 static int ctnetlink_dump_timeout(struct sk_buff *skb, const struct nf_conn *ct) in ctnetlink_dump_timeout() argument 172 long timeout = nf_ct_expires(ct) / HZ; in ctnetlink_dump_timeout() 182 static int ctnetlink_dump_protoinfo(struct sk_buff *skb, struct nf_conn *ct) in ctnetlink_dump_protoinfo() argument 188 l4proto = nf_ct_l4proto_find(nf_ct_protonum(ct)); in ctnetlink_dump_protoinfo() 196 ret = l4proto->to_nlattr(skb, nest_proto, ct); in ctnetlink_dump_protoinfo() 207 const struct nf_conn *ct) in ctnetlink_dump_helpinfo() argument 210 const struct nf_conn_help *help = nfct_help(ct); in ctnetlink_dump_helpinfo() 228 helper->to_nlattr(skb, ct); in ctnetlink_dump_helpinfo() [all …]
|
D | nf_conntrack_sip.c | 66 static int string_len(const struct nf_conn *ct, const char *dptr, in string_len() argument 78 static int digits_len(const struct nf_conn *ct, const char *dptr, in digits_len() argument 110 static int callid_len(const struct nf_conn *ct, const char *dptr, in callid_len() argument 129 static int media_len(const struct nf_conn *ct, const char *dptr, in media_len() argument 132 int len = string_len(ct, dptr, limit, shift); in media_len() 140 return len + digits_len(ct, dptr, limit, shift); in media_len() 143 static int sip_parse_addr(const struct nf_conn *ct, const char *cp, in sip_parse_addr() argument 150 if (!ct) in sip_parse_addr() 154 switch (nf_ct_l3num(ct)) { in sip_parse_addr() 185 static int epaddr_len(const struct nf_conn *ct, const char *dptr, in epaddr_len() argument [all …]
|
D | nf_conntrack_pptp.c | 50 struct nf_conn *ct, enum ip_conntrack_info ctinfo, 57 struct nf_conn *ct, enum ip_conntrack_info ctinfo, 69 (*nf_nat_pptp_hook_expectfn)(struct nf_conn *ct, 111 static void pptp_expectfn(struct nf_conn *ct, in pptp_expectfn() argument 114 struct net *net = nf_ct_net(ct); in pptp_expectfn() 119 ct->proto.gre.timeout = PPTP_GRE_TIMEOUT; in pptp_expectfn() 120 ct->proto.gre.stream_timeout = PPTP_GRE_STREAM_TIMEOUT; in pptp_expectfn() 126 if (nf_nat_pptp_expectfn && ct->master->status & IPS_NAT_MASK) in pptp_expectfn() 127 nf_nat_pptp_expectfn(ct, exp); in pptp_expectfn() 137 exp_other = nf_ct_expect_find_get(net, nf_ct_zone(ct), &inv_t); in pptp_expectfn() [all …]
|
D | xt_conntrack.c | 40 conntrack_mt_origsrc(const struct nf_conn *ct, in conntrack_mt_origsrc() argument 44 return conntrack_addrcmp(&ct->tuplehash[IP_CT_DIR_ORIGINAL].tuple.src.u3, in conntrack_mt_origsrc() 49 conntrack_mt_origdst(const struct nf_conn *ct, in conntrack_mt_origdst() argument 53 return conntrack_addrcmp(&ct->tuplehash[IP_CT_DIR_ORIGINAL].tuple.dst.u3, in conntrack_mt_origdst() 58 conntrack_mt_replsrc(const struct nf_conn *ct, in conntrack_mt_replsrc() argument 62 return conntrack_addrcmp(&ct->tuplehash[IP_CT_DIR_REPLY].tuple.src.u3, in conntrack_mt_replsrc() 67 conntrack_mt_repldst(const struct nf_conn *ct, in conntrack_mt_repldst() argument 71 return conntrack_addrcmp(&ct->tuplehash[IP_CT_DIR_REPLY].tuple.dst.u3, in conntrack_mt_repldst() 77 const struct nf_conn *ct) in ct_proto_port_check() argument 81 tuple = &ct->tuplehash[IP_CT_DIR_ORIGINAL].tuple; in ct_proto_port_check() [all …]
|
D | xt_u32.c | 20 const struct xt_u32_test *ct; in u32_match_it() local 35 ct = &data->tests[testind]; in u32_match_it() 37 pos = ct->location[0].number; in u32_match_it() 45 nnums = ct->nnums; in u32_match_it() 49 u_int32_t number = ct->location[i].number; in u32_match_it() 50 switch (ct->location[i].nextop) { in u32_match_it() 78 nvals = ct->nvalues; in u32_match_it() 80 if (ct->value[i].min <= val && val <= ct->value[i].max) in u32_match_it() 83 if (i >= ct->nvalues) in u32_match_it() 102 const struct xt_u32_test *ct; in u32_mt_checkentry() local [all …]
|
/kernel/linux/linux-5.10/include/net/netfilter/ |
D | nf_conntrack.h | 117 static inline u_int16_t nf_ct_l3num(const struct nf_conn *ct) in nf_ct_l3num() argument 119 return ct->tuplehash[IP_CT_DIR_ORIGINAL].tuple.src.l3num; in nf_ct_l3num() 122 static inline u_int8_t nf_ct_protonum(const struct nf_conn *ct) in nf_ct_protonum() argument 124 return ct->tuplehash[IP_CT_DIR_ORIGINAL].tuple.dst.protonum; in nf_ct_protonum() 127 #define nf_ct_tuple(ct, dir) (&(ct)->tuplehash[dir].tuple) argument 134 static inline struct net *nf_ct_net(const struct nf_conn *ct) in nf_ct_net() argument 136 return read_pnet(&ct->ct_net); in nf_ct_net() 140 void nf_conntrack_alter_reply(struct nf_conn *ct, 159 static inline void nf_ct_put(struct nf_conn *ct) in nf_ct_put() argument 161 WARN_ON(!ct); in nf_ct_put() [all …]
|
D | nf_conntrack_ecache.h | 32 nf_ct_ecache_find(const struct nf_conn *ct) in nf_ct_ecache_find() argument 35 return nf_ct_ext_find(ct, NF_CT_EXT_ECACHE); in nf_ct_ecache_find() 42 nf_ct_ecache_ext_add(struct nf_conn *ct, u16 ctmask, u16 expmask, gfp_t gfp) in nf_ct_ecache_ext_add() argument 45 struct net *net = nf_ct_net(ct); in nf_ct_ecache_ext_add() 48 if (!ctmask && !expmask && net->ct.sysctl_events) { in nf_ct_ecache_ext_add() 55 e = nf_ct_ext_add(ct, NF_CT_EXT_ECACHE, gfp); in nf_ct_ecache_ext_add() 70 struct nf_conn *ct; member 84 void nf_ct_deliver_cached_events(struct nf_conn *ct); 85 int nf_conntrack_eventmask_report(unsigned int eventmask, struct nf_conn *ct, 90 static inline void nf_ct_deliver_cached_events(const struct nf_conn *ct) in nf_ct_deliver_cached_events() argument [all …]
|
/kernel/linux/linux-5.10/net/netfilter/ipvs/ |
D | ip_vs_nfct.c | 74 struct nf_conn *ct = nf_ct_get(skb, &ctinfo); in ip_vs_update_conntrack() local 77 if (ct == NULL || nf_ct_is_confirmed(ct) || in ip_vs_update_conntrack() 78 nf_ct_is_dying(ct)) in ip_vs_update_conntrack() 94 if (cp->app && nf_ct_protonum(ct) == IPPROTO_TCP && in ip_vs_update_conntrack() 95 !nfct_seqadj(ct) && !nfct_seqadj_ext_add(ct)) in ip_vs_update_conntrack() 104 new_tuple = ct->tuplehash[IP_CT_DIR_REPLY].tuple; in ip_vs_update_conntrack() 121 __func__, ct, ct->status, ctinfo, in ip_vs_update_conntrack() 122 ARG_TUPLE(&ct->tuplehash[IP_CT_DIR_REPLY].tuple)); in ip_vs_update_conntrack() 125 __func__, ct, ct->status, ctinfo, in ip_vs_update_conntrack() 127 nf_conntrack_alter_reply(ct, &new_tuple); in ip_vs_update_conntrack() [all …]
|
/kernel/linux/linux-5.10/kernel/irq/ |
D | generic-chip.c | 39 struct irq_chip_type *ct = irq_data_get_chip_type(d); in irq_gc_mask_disable_reg() local 43 irq_reg_writel(gc, mask, ct->regs.disable); in irq_gc_mask_disable_reg() 44 *ct->mask_cache &= ~mask; in irq_gc_mask_disable_reg() 58 struct irq_chip_type *ct = irq_data_get_chip_type(d); in irq_gc_mask_set_bit() local 62 *ct->mask_cache |= mask; in irq_gc_mask_set_bit() 63 irq_reg_writel(gc, *ct->mask_cache, ct->regs.mask); in irq_gc_mask_set_bit() 78 struct irq_chip_type *ct = irq_data_get_chip_type(d); in irq_gc_mask_clr_bit() local 82 *ct->mask_cache &= ~mask; in irq_gc_mask_clr_bit() 83 irq_reg_writel(gc, *ct->mask_cache, ct->regs.mask); in irq_gc_mask_clr_bit() 98 struct irq_chip_type *ct = irq_data_get_chip_type(d); in irq_gc_unmask_enable_reg() local [all …]
|
/kernel/linux/linux-5.10/drivers/irqchip/ |
D | irq-brcmstb-l2.c | 81 struct irq_chip_type *ct = irq_data_get_chip_type(d); in brcmstb_l2_mask_and_ack() local 85 irq_reg_writel(gc, mask, ct->regs.disable); in brcmstb_l2_mask_and_ack() 86 *ct->mask_cache &= ~mask; in brcmstb_l2_mask_and_ack() 87 irq_reg_writel(gc, mask, ct->regs.ack); in brcmstb_l2_mask_and_ack() 122 struct irq_chip_type *ct = irq_data_get_chip_type(d); in brcmstb_l2_intc_suspend() local 128 b->saved_mask = irq_reg_readl(gc, ct->regs.mask); in brcmstb_l2_intc_suspend() 132 irq_reg_writel(gc, ~gc->wake_active, ct->regs.disable); in brcmstb_l2_intc_suspend() 133 irq_reg_writel(gc, gc->wake_active, ct->regs.enable); in brcmstb_l2_intc_suspend() 141 struct irq_chip_type *ct = irq_data_get_chip_type(d); in brcmstb_l2_intc_resume() local 146 if (ct->chip.irq_ack) { in brcmstb_l2_intc_resume() [all …]
|
/kernel/linux/linux-5.10/net/ax25/ |
D | ax25_addr.c | 116 int ct = 0; in ax25cmp() local 118 while (ct < 6) { in ax25cmp() 119 if ((a->ax25_call[ct] & 0xFE) != (b->ax25_call[ct] & 0xFE)) /* Clean off repeater bits */ in ax25cmp() 121 ct++; in ax25cmp() 124 if ((a->ax25_call[ct] & 0x1E) == (b->ax25_call[ct] & 0x1E)) /* SSID without control bit */ in ax25cmp() 219 int ct = 0; in ax25_addr_build() local 252 while (ct < d->ndigi) { in ax25_addr_build() 253 memcpy(buf, &d->calls[ct], AX25_ADDR_LEN); in ax25_addr_build() 255 if (d->repeated[ct]) in ax25_addr_build() 265 ct++; in ax25_addr_build() [all …]
|
/kernel/linux/linux-5.10/net/openvswitch/ |
D | conntrack.c | 60 struct nf_conn *ct; member 150 static u32 ovs_ct_get_mark(const struct nf_conn *ct) in ovs_ct_get_mark() argument 153 return ct ? READ_ONCE(ct->mark) : 0; in ovs_ct_get_mark() 164 static void ovs_ct_get_labels(const struct nf_conn *ct, in ovs_ct_get_labels() argument 167 struct nf_conn_labels *cl = ct ? nf_ct_labels_find(ct) : NULL; in ovs_ct_get_labels() 181 key->ct.orig_tp.src = htons(orig->dst.u.icmp.type); in __ovs_ct_update_key_orig_tp() 182 key->ct.orig_tp.dst = htons(orig->dst.u.icmp.code); in __ovs_ct_update_key_orig_tp() 184 key->ct.orig_tp.src = orig->src.u.all; in __ovs_ct_update_key_orig_tp() 185 key->ct.orig_tp.dst = orig->dst.u.all; in __ovs_ct_update_key_orig_tp() 191 const struct nf_conn *ct) in __ovs_ct_update_key() argument [all …]
|