Home
last modified time | relevance | path

Searched refs:af (Results 1 - 25 of 248) sorted by relevance

12345678910

/kernel/linux/linux-5.10/drivers/media/platform/omap3isp/
H A Disph3a_af.c26 static void h3a_af_setup_regs(struct ispstat *af, void *priv) in h3a_af_setup_regs() argument
38 if (af->state == ISPSTAT_DISABLED) in h3a_af_setup_regs()
41 isp_reg_writel(af->isp, af->active_buf->dma_addr, OMAP3_ISP_IOMEM_H3A, in h3a_af_setup_regs()
44 if (!af->update) in h3a_af_setup_regs()
51 isp_reg_writel(af->isp, pax1, OMAP3_ISP_IOMEM_H3A, ISPH3A_AFPAX1); in h3a_af_setup_regs()
60 isp_reg_writel(af->isp, pax2, OMAP3_ISP_IOMEM_H3A, ISPH3A_AFPAX2); in h3a_af_setup_regs()
67 isp_reg_writel(af->isp, paxstart, OMAP3_ISP_IOMEM_H3A, in h3a_af_setup_regs()
71 isp_reg_writel(af->isp, conf->iir.h_start, in h3a_af_setup_regs()
82 isp_reg_writel(af in h3a_af_setup_regs()
128 h3a_af_enable(struct ispstat *af, int enable) h3a_af_enable() argument
141 h3a_af_busy(struct ispstat *af) h3a_af_busy() argument
153 h3a_af_validate_params(struct ispstat *af, void *new_conf) h3a_af_validate_params() argument
227 h3a_af_set_params(struct ispstat *af, void *new_conf) h3a_af_set_params() argument
352 struct ispstat *af = &isp->isp_af; omap3isp_h3a_af_init() local
[all...]
/kernel/linux/linux-6.6/drivers/media/platform/ti/omap3isp/
H A Disph3a_af.c26 static void h3a_af_setup_regs(struct ispstat *af, void *priv) in h3a_af_setup_regs() argument
38 if (af->state == ISPSTAT_DISABLED) in h3a_af_setup_regs()
41 isp_reg_writel(af->isp, af->active_buf->dma_addr, OMAP3_ISP_IOMEM_H3A, in h3a_af_setup_regs()
44 if (!af->update) in h3a_af_setup_regs()
51 isp_reg_writel(af->isp, pax1, OMAP3_ISP_IOMEM_H3A, ISPH3A_AFPAX1); in h3a_af_setup_regs()
60 isp_reg_writel(af->isp, pax2, OMAP3_ISP_IOMEM_H3A, ISPH3A_AFPAX2); in h3a_af_setup_regs()
67 isp_reg_writel(af->isp, paxstart, OMAP3_ISP_IOMEM_H3A, in h3a_af_setup_regs()
71 isp_reg_writel(af->isp, conf->iir.h_start, in h3a_af_setup_regs()
82 isp_reg_writel(af in h3a_af_setup_regs()
128 h3a_af_enable(struct ispstat *af, int enable) h3a_af_enable() argument
141 h3a_af_busy(struct ispstat *af) h3a_af_busy() argument
153 h3a_af_validate_params(struct ispstat *af, void *new_conf) h3a_af_validate_params() argument
227 h3a_af_set_params(struct ispstat *af, void *new_conf) h3a_af_set_params() argument
352 struct ispstat *af = &isp->isp_af; omap3isp_h3a_af_init() local
[all...]
/kernel/linux/linux-6.6/net/netfilter/
H A Dx_tables.c91 u_int8_t af = target->family; in xt_register_target() local
93 mutex_lock(&xt[af].mutex); in xt_register_target()
94 list_add(&target->list, &xt[af].target); in xt_register_target()
95 mutex_unlock(&xt[af].mutex); in xt_register_target()
103 u_int8_t af = target->family; in xt_unregister_target() local
105 mutex_lock(&xt[af].mutex); in xt_unregister_target()
107 mutex_unlock(&xt[af].mutex); in xt_unregister_target()
141 u_int8_t af = match->family; in xt_register_match() local
143 mutex_lock(&xt[af].mutex); in xt_register_match()
144 list_add(&match->list, &xt[af] in xt_register_match()
153 u_int8_t af = match->family; xt_unregister_match() local
197 xt_find_match(u8 af, const char *name, u8 revision) xt_find_match() argument
246 xt_find_target(u8 af, const char *name, u8 revision) xt_find_target() argument
275 xt_request_find_target(u8 af, const char *name, u8 revision) xt_request_find_target() argument
348 match_revfn(u8 af, const char *name, u8 revision, int *bestp) match_revfn() argument
370 target_revfn(u8 af, const char *name, u8 revision, int *bestp) target_revfn() argument
393 xt_find_revision(u8 af, const char *name, u8 revision, int target, int *err) xt_find_revision() argument
665 xt_compat_add_offset(u_int8_t af, unsigned int offset, int delta) xt_compat_add_offset() argument
686 xt_compat_flush_offsets(u_int8_t af) xt_compat_flush_offsets() argument
699 xt_compat_calc_jump(u_int8_t af, unsigned int offset) xt_compat_calc_jump() argument
717 xt_compat_init_offsets(u8 af, unsigned int number) xt_compat_init_offsets() argument
1216 xt_find_table(struct net *net, u8 af, const char *name) xt_find_table() argument
1234 xt_find_table_lock(struct net *net, u_int8_t af, const char *name) xt_find_table_lock() argument
1281 xt_request_find_table_lock(struct net *net, u_int8_t af, const char *name) xt_request_find_table_lock() argument
1306 xt_compat_lock(u_int8_t af) xt_compat_lock() argument
1312 xt_compat_unlock(u_int8_t af) xt_compat_unlock() argument
1520 u8 af = (unsigned long)pde_data(file_inode(seq->file)); xt_table_seq_start() local
1532 u8 af = (unsigned long)pde_data(file_inode(seq->file)); xt_table_seq_next() local
1543 u_int8_t af = (unsigned long)pde_data(file_inode(seq->file)); xt_table_seq_stop() local
1764 int ret = -EEXIST, af = table->af; xt_register_template() local
1795 int af = table->af; xt_unregister_template() local
1813 xt_proto_init(struct net *net, u_int8_t af) xt_proto_init() argument
1879 xt_proto_fini(struct net *net, u_int8_t af) xt_proto_fini() argument
[all...]
/kernel/linux/linux-5.10/net/netfilter/
H A Dx_tables.c71 u_int8_t af = target->family; in xt_register_target() local
73 mutex_lock(&xt[af].mutex); in xt_register_target()
74 list_add(&target->list, &xt[af].target); in xt_register_target()
75 mutex_unlock(&xt[af].mutex); in xt_register_target()
83 u_int8_t af = target->family; in xt_unregister_target() local
85 mutex_lock(&xt[af].mutex); in xt_unregister_target()
87 mutex_unlock(&xt[af].mutex); in xt_unregister_target()
121 u_int8_t af = match->family; in xt_register_match() local
123 mutex_lock(&xt[af].mutex); in xt_register_match()
124 list_add(&match->list, &xt[af] in xt_register_match()
133 u_int8_t af = match->family; xt_unregister_match() local
177 xt_find_match(u8 af, const char *name, u8 revision) xt_find_match() argument
226 xt_find_target(u8 af, const char *name, u8 revision) xt_find_target() argument
255 xt_request_find_target(u8 af, const char *name, u8 revision) xt_request_find_target() argument
328 match_revfn(u8 af, const char *name, u8 revision, int *bestp) match_revfn() argument
350 target_revfn(u8 af, const char *name, u8 revision, int *bestp) target_revfn() argument
373 xt_find_revision(u8 af, const char *name, u8 revision, int target, int *err) xt_find_revision() argument
645 xt_compat_add_offset(u_int8_t af, unsigned int offset, int delta) xt_compat_add_offset() argument
666 xt_compat_flush_offsets(u_int8_t af) xt_compat_flush_offsets() argument
679 xt_compat_calc_jump(u_int8_t af, unsigned int offset) xt_compat_calc_jump() argument
697 xt_compat_init_offsets(u8 af, unsigned int number) xt_compat_init_offsets() argument
1197 xt_find_table_lock(struct net *net, u_int8_t af, const char *name) xt_find_table_lock() argument
1246 xt_request_find_table_lock(struct net *net, u_int8_t af, const char *name) xt_request_find_table_lock() argument
1271 xt_compat_lock(u_int8_t af) xt_compat_lock() argument
1277 xt_compat_unlock(u_int8_t af) xt_compat_unlock() argument
1484 u_int8_t af = (unsigned long)PDE_DATA(file_inode(seq->file)); xt_table_seq_start() local
1493 u_int8_t af = (unsigned long)PDE_DATA(file_inode(seq->file)); xt_table_seq_next() local
1500 u_int8_t af = (unsigned long)PDE_DATA(file_inode(seq->file)); xt_table_seq_stop() local
1718 xt_proto_init(struct net *net, u_int8_t af) xt_proto_init() argument
1784 xt_proto_fini(struct net *net, u_int8_t af) xt_proto_fini() argument
[all...]
/kernel/linux/linux-5.10/net/netfilter/ipvs/
H A Dip_vs_proto_ah_esp.c40 ah_esp_conn_fill_param_proto(struct netns_ipvs *ipvs, int af, in ah_esp_conn_fill_param_proto() argument
45 ip_vs_conn_fill_param(ipvs, af, IPPROTO_UDP, in ah_esp_conn_fill_param_proto()
49 ip_vs_conn_fill_param(ipvs, af, IPPROTO_UDP, in ah_esp_conn_fill_param_proto()
55 ah_esp_conn_in_get(struct netns_ipvs *ipvs, int af, const struct sk_buff *skb, in ah_esp_conn_in_get() argument
61 ah_esp_conn_fill_param_proto(ipvs, af, iph, &p); in ah_esp_conn_in_get()
72 IP_VS_DBG_ADDR(af, &iph->saddr), in ah_esp_conn_in_get()
73 IP_VS_DBG_ADDR(af, &iph->daddr)); in ah_esp_conn_in_get()
81 ah_esp_conn_out_get(struct netns_ipvs *ipvs, int af, const struct sk_buff *skb, in ah_esp_conn_out_get() argument
87 ah_esp_conn_fill_param_proto(ipvs, af, iph, &p); in ah_esp_conn_out_get()
94 IP_VS_DBG_ADDR(af, in ah_esp_conn_out_get()
103 ah_esp_conn_schedule(struct netns_ipvs *ipvs, int af, struct sk_buff *skb, struct ip_vs_proto_data *pd, int *verdict, struct ip_vs_conn **cpp, struct ip_vs_iphdr *iph) ah_esp_conn_schedule() argument
[all...]
H A Dip_vs_proto_udp.c28 udp_csum_check(int af, struct sk_buff *skb, struct ip_vs_protocol *pp);
31 udp_conn_schedule(struct netns_ipvs *ipvs, int af, struct sk_buff *skb, in udp_conn_schedule() argument
56 svc = ip_vs_service_find(ipvs, af, skb->mark, iph->protocol, in udp_conn_schedule()
59 svc = ip_vs_service_find(ipvs, af, skb->mark, iph->protocol, in udp_conn_schedule()
93 udp_fast_csum_update(int af, struct udphdr *uhdr, in udp_fast_csum_update() argument
99 if (af == AF_INET6) in udp_fast_csum_update()
115 udp_partial_csum_update(int af, struct udphdr *uhdr, in udp_partial_csum_update() argument
121 if (af == AF_INET6) in udp_partial_csum_update()
145 if (cp->af == AF_INET6 && iph->fragoffs) in udp_snat_handler()
158 if (!udp_csum_check(cp->af, sk in udp_snat_handler()
300 udp_csum_check(int af, struct sk_buff *skb, struct ip_vs_protocol *pp) udp_csum_check() argument
[all...]
H A Dip_vs_ftp.c100 __u16 af, char **start, char **end) in ip_vs_ftp_get_addrport()
190 if (af == AF_INET6 && *s != '2') in ip_vs_ftp_get_addrport()
192 if (af == AF_INET && *s != '1') in ip_vs_ftp_get_addrport()
202 if (af == AF_INET6) { in ip_vs_ftp_get_addrport()
284 &from, &port, cp->af, in ip_vs_ftp_out()
305 &from, &port, cp->af, in ip_vs_ftp_out()
310 IP_VS_DBG_ADDR(cp->af, &from), ntohs(port), in ip_vs_ftp_out()
311 IP_VS_DBG_ADDR(cp->af, &cp->caddr), 0); in ip_vs_ftp_out()
320 ip_vs_conn_fill_param(cp->ipvs, cp->af, in ip_vs_ftp_out()
329 cp->af, ipvs in ip_vs_ftp_out()
96 ip_vs_ftp_get_addrport(char *data, char *data_limit, const char *pattern, size_t plen, char skip, bool ext, int mode, union nf_inet_addr *addr, __be16 *port, __u16 af, char **start, char **end) ip_vs_ftp_get_addrport() argument
[all...]
H A Dip_vs_core.c248 ip_vs_conn_fill_param(svc->ipvs, svc->af, protocol, caddr, cport, vaddr, in ip_vs_conn_fill_param_persist()
291 if (svc->af == AF_INET6) in ip_vs_sched_persist()
300 IP_VS_DBG_ADDR(svc->af, src_addr), ntohs(src_port), in ip_vs_sched_persist()
301 IP_VS_DBG_ADDR(svc->af, dst_addr), ntohs(dst_port), in ip_vs_sched_persist()
302 IP_VS_DBG_ADDR(svc->af, &snet)); in ip_vs_sched_persist()
383 ct = ip_vs_conn_new(&param, dest->af, &dest->addr, dport, in ip_vs_sched_persist()
409 ip_vs_conn_fill_param(svc->ipvs, svc->af, iph->protocol, src_addr, in ip_vs_sched_persist()
412 cp = ip_vs_conn_new(&param, dest->af, &dest->addr, dport, flags, dest, in ip_vs_sched_persist()
492 IP_VS_DBG_PKT(12, svc->af, pp, skb, iph->off, in ip_vs_schedule()
504 svc->af, sk in ip_vs_schedule()
582 ip_vs_addr_is_unicast(struct net *net, int af, union nf_inet_addr *addr) ip_vs_addr_is_unicast() argument
732 ip_vs_route_me_harder(struct netns_ipvs *ipvs, int af, struct sk_buff *skb, unsigned int hooknum) ip_vs_route_me_harder() argument
868 handle_response_icmp(int af, struct sk_buff *skb, union nf_inet_addr *snet, __u8 protocol, struct ip_vs_conn *cp, struct ip_vs_protocol *pp, unsigned int offset, unsigned int ihl, unsigned int hooknum) handle_response_icmp() argument
1234 __ip_vs_rs_conn_out(unsigned int hooknum, struct netns_ipvs *ipvs, int af, struct sk_buff *skb, const struct ip_vs_iphdr *iph) __ip_vs_rs_conn_out() argument
1272 handle_response(int af, struct sk_buff *skb, struct ip_vs_proto_data *pd, struct ip_vs_conn *cp, struct ip_vs_iphdr *iph, unsigned int hooknum) handle_response() argument
1345 ip_vs_out(struct netns_ipvs *ipvs, unsigned int hooknum, struct sk_buff *skb, int af) ip_vs_out() argument
1534 ip_vs_try_to_schedule(struct netns_ipvs *ipvs, int af, struct sk_buff *skb, struct ip_vs_proto_data *pd, int *verdict, struct ip_vs_conn **cpp, struct ip_vs_iphdr *iph) ip_vs_try_to_schedule() argument
1569 ipvs_udp_decap(struct netns_ipvs *ipvs, struct sk_buff *skb, unsigned int offset, __u16 af, const union nf_inet_addr *daddr, __u8 *proto) ipvs_udp_decap() argument
1604 ipvs_gre_decap(struct netns_ipvs *ipvs, struct sk_buff *skb, unsigned int offset, __u16 af, const union nf_inet_addr *daddr, __u8 *proto) ipvs_gre_decap() argument
1972 ip_vs_in(struct netns_ipvs *ipvs, unsigned int hooknum, struct sk_buff *skb, int af) ip_vs_in() argument
2347 ip_vs_register_hooks(struct netns_ipvs *ipvs, unsigned int af) ip_vs_register_hooks() argument
2376 ip_vs_unregister_hooks(struct netns_ipvs *ipvs, unsigned int af) ip_vs_unregister_hooks() argument
[all...]
H A Dip_vs_conn.c107 static unsigned int ip_vs_conn_hashkey(struct netns_ipvs *ipvs, int af, unsigned int proto, in ip_vs_conn_hashkey() argument
112 if (af == AF_INET6) in ip_vs_conn_hashkey()
140 return ip_vs_conn_hashkey(p->ipvs, p->af, p->protocol, addr, port); in ip_vs_conn_hashkey_param()
147 ip_vs_conn_fill_param(cp->ipvs, cp->af, cp->protocol, in ip_vs_conn_hashkey_conn()
274 cp->af == p->af && in __ip_vs_conn_in_get()
275 ip_vs_addr_equal(p->af, p->caddr, &cp->caddr) && in __ip_vs_conn_in_get()
276 ip_vs_addr_equal(p->af, p->vaddr, &cp->vaddr) && in __ip_vs_conn_in_get()
306 IP_VS_DBG_ADDR(p->af, p->caddr), ntohs(p->cport), in ip_vs_conn_in_get()
307 IP_VS_DBG_ADDR(p->af, in ip_vs_conn_in_get()
314 ip_vs_conn_fill_param_proto(struct netns_ipvs *ipvs, int af, const struct sk_buff *skb, const struct ip_vs_iphdr *iph, struct ip_vs_conn_param *p) ip_vs_conn_fill_param_proto() argument
335 ip_vs_conn_in_get_proto(struct netns_ipvs *ipvs, int af, const struct sk_buff *skb, const struct ip_vs_iphdr *iph) ip_vs_conn_in_get_proto() argument
452 ip_vs_conn_out_get_proto(struct netns_ipvs *ipvs, int af, const struct sk_buff *skb, const struct ip_vs_iphdr *iph) ip_vs_conn_out_get_proto() argument
[all...]
H A Dip_vs_ctl.c273 ip_vs_svc_hashkey(struct netns_ipvs *ipvs, int af, unsigned int proto, in ip_vs_svc_hashkey() argument
281 if (af == AF_INET6) in ip_vs_svc_hashkey()
319 hash = ip_vs_svc_hashkey(svc->ipvs, svc->af, svc->protocol, in ip_vs_svc_hash()
367 __ip_vs_service_find(struct netns_ipvs *ipvs, int af, __u16 protocol, in __ip_vs_service_find() argument
374 hash = ip_vs_svc_hashkey(ipvs, af, protocol, vaddr, vport); in __ip_vs_service_find()
377 if ((svc->af == af) in __ip_vs_service_find()
378 && ip_vs_addr_equal(af, &svc->addr, vaddr) in __ip_vs_service_find()
395 __ip_vs_svc_fwm_find(struct netns_ipvs *ipvs, int af, __u32 fwmark) in __ip_vs_svc_fwm_find() argument
404 if (svc->fwmark == fwmark && svc->af in __ip_vs_svc_fwm_find()
416 ip_vs_service_find(struct netns_ipvs *ipvs, int af, __u32 fwmark, __u16 protocol, const union nf_inet_addr *vaddr, __be16 vport) ip_vs_service_find() argument
503 ip_vs_rs_hashkey(int af, const union nf_inet_addr *addr, __be16 port) ip_vs_rs_hashkey() argument
573 ip_vs_has_real_service(struct netns_ipvs *ipvs, int af, __u16 protocol, const union nf_inet_addr *daddr, __be16 dport) ip_vs_has_real_service() argument
602 ip_vs_find_real_service(struct netns_ipvs *ipvs, int af, __u16 protocol, const union nf_inet_addr *daddr, __be16 dport) ip_vs_find_real_service() argument
633 ip_vs_find_tunnel(struct netns_ipvs *ipvs, int af, const union nf_inet_addr *daddr, __be16 tun_port) ip_vs_find_tunnel() argument
3189 ip_vs_is_af_valid(int af) ip_vs_is_af_valid() argument
[all...]
H A Dip_vs_proto_tcp.c32 tcp_csum_check(int af, struct sk_buff *skb, struct ip_vs_protocol *pp);
35 tcp_conn_schedule(struct netns_ipvs *ipvs, int af, struct sk_buff *skb, in tcp_conn_schedule() argument
68 svc = ip_vs_service_find(ipvs, af, skb->mark, iph->protocol, in tcp_conn_schedule()
71 svc = ip_vs_service_find(ipvs, af, skb->mark, iph->protocol, in tcp_conn_schedule()
105 tcp_fast_csum_update(int af, struct tcphdr *tcph, in tcp_fast_csum_update() argument
111 if (af == AF_INET6) in tcp_fast_csum_update()
126 tcp_partial_csum_update(int af, struct tcphdr *tcph, in tcp_partial_csum_update() argument
132 if (af == AF_INET6) in tcp_partial_csum_update()
156 if (cp->af == AF_INET6 && iph->fragoffs) in tcp_snat_handler()
169 if (!tcp_csum_check(cp->af, sk in tcp_snat_handler()
304 tcp_csum_check(int af, struct sk_buff *skb, struct ip_vs_protocol *pp) tcp_csum_check() argument
[all...]
/kernel/linux/linux-6.6/net/netfilter/ipvs/
H A Dip_vs_proto_ah_esp.c40 ah_esp_conn_fill_param_proto(struct netns_ipvs *ipvs, int af, in ah_esp_conn_fill_param_proto() argument
45 ip_vs_conn_fill_param(ipvs, af, IPPROTO_UDP, in ah_esp_conn_fill_param_proto()
49 ip_vs_conn_fill_param(ipvs, af, IPPROTO_UDP, in ah_esp_conn_fill_param_proto()
55 ah_esp_conn_in_get(struct netns_ipvs *ipvs, int af, const struct sk_buff *skb, in ah_esp_conn_in_get() argument
61 ah_esp_conn_fill_param_proto(ipvs, af, iph, &p); in ah_esp_conn_in_get()
72 IP_VS_DBG_ADDR(af, &iph->saddr), in ah_esp_conn_in_get()
73 IP_VS_DBG_ADDR(af, &iph->daddr)); in ah_esp_conn_in_get()
81 ah_esp_conn_out_get(struct netns_ipvs *ipvs, int af, const struct sk_buff *skb, in ah_esp_conn_out_get() argument
87 ah_esp_conn_fill_param_proto(ipvs, af, iph, &p); in ah_esp_conn_out_get()
94 IP_VS_DBG_ADDR(af, in ah_esp_conn_out_get()
103 ah_esp_conn_schedule(struct netns_ipvs *ipvs, int af, struct sk_buff *skb, struct ip_vs_proto_data *pd, int *verdict, struct ip_vs_conn **cpp, struct ip_vs_iphdr *iph) ah_esp_conn_schedule() argument
[all...]
H A Dip_vs_proto_udp.c28 udp_csum_check(int af, struct sk_buff *skb, struct ip_vs_protocol *pp);
31 udp_conn_schedule(struct netns_ipvs *ipvs, int af, struct sk_buff *skb, in udp_conn_schedule() argument
56 svc = ip_vs_service_find(ipvs, af, skb->mark, iph->protocol, in udp_conn_schedule()
59 svc = ip_vs_service_find(ipvs, af, skb->mark, iph->protocol, in udp_conn_schedule()
93 udp_fast_csum_update(int af, struct udphdr *uhdr, in udp_fast_csum_update() argument
99 if (af == AF_INET6) in udp_fast_csum_update()
115 udp_partial_csum_update(int af, struct udphdr *uhdr, in udp_partial_csum_update() argument
121 if (af == AF_INET6) in udp_partial_csum_update()
145 if (cp->af == AF_INET6 && iph->fragoffs) in udp_snat_handler()
158 if (!udp_csum_check(cp->af, sk in udp_snat_handler()
300 udp_csum_check(int af, struct sk_buff *skb, struct ip_vs_protocol *pp) udp_csum_check() argument
[all...]
H A Dip_vs_ftp.c100 __u16 af, char **start, char **end) in ip_vs_ftp_get_addrport()
190 if (af == AF_INET6 && *s != '2') in ip_vs_ftp_get_addrport()
192 if (af == AF_INET && *s != '1') in ip_vs_ftp_get_addrport()
202 if (af == AF_INET6) { in ip_vs_ftp_get_addrport()
284 &from, &port, cp->af, in ip_vs_ftp_out()
305 &from, &port, cp->af, in ip_vs_ftp_out()
310 IP_VS_DBG_ADDR(cp->af, &from), ntohs(port), in ip_vs_ftp_out()
311 IP_VS_DBG_ADDR(cp->af, &cp->caddr), 0); in ip_vs_ftp_out()
320 ip_vs_conn_fill_param(cp->ipvs, cp->af, in ip_vs_ftp_out()
329 cp->af, ipvs in ip_vs_ftp_out()
96 ip_vs_ftp_get_addrport(char *data, char *data_limit, const char *pattern, size_t plen, char skip, bool ext, int mode, union nf_inet_addr *addr, __be16 *port, __u16 af, char **start, char **end) ip_vs_ftp_get_addrport() argument
[all...]
H A Dip_vs_core.c236 ip_vs_conn_fill_param(svc->ipvs, svc->af, protocol, caddr, cport, vaddr, in ip_vs_conn_fill_param_persist()
279 if (svc->af == AF_INET6) in ip_vs_sched_persist()
288 IP_VS_DBG_ADDR(svc->af, src_addr), ntohs(src_port), in ip_vs_sched_persist()
289 IP_VS_DBG_ADDR(svc->af, dst_addr), ntohs(dst_port), in ip_vs_sched_persist()
290 IP_VS_DBG_ADDR(svc->af, &snet)); in ip_vs_sched_persist()
371 ct = ip_vs_conn_new(&param, dest->af, &dest->addr, dport, in ip_vs_sched_persist()
397 ip_vs_conn_fill_param(svc->ipvs, svc->af, iph->protocol, src_addr, in ip_vs_sched_persist()
400 cp = ip_vs_conn_new(&param, dest->af, &dest->addr, dport, flags, dest, in ip_vs_sched_persist()
480 IP_VS_DBG_PKT(12, svc->af, pp, skb, iph->off, in ip_vs_schedule()
492 svc->af, sk in ip_vs_schedule()
570 ip_vs_addr_is_unicast(struct net *net, int af, union nf_inet_addr *addr) ip_vs_addr_is_unicast() argument
720 ip_vs_route_me_harder(struct netns_ipvs *ipvs, int af, struct sk_buff *skb, unsigned int hooknum) ip_vs_route_me_harder() argument
856 handle_response_icmp(int af, struct sk_buff *skb, union nf_inet_addr *snet, __u8 protocol, struct ip_vs_conn *cp, struct ip_vs_protocol *pp, unsigned int offset, unsigned int ihl, unsigned int hooknum) handle_response_icmp() argument
1220 __ip_vs_rs_conn_out(unsigned int hooknum, struct netns_ipvs *ipvs, int af, struct sk_buff *skb, const struct ip_vs_iphdr *iph) __ip_vs_rs_conn_out() argument
1258 handle_response(int af, struct sk_buff *skb, struct ip_vs_proto_data *pd, struct ip_vs_conn *cp, struct ip_vs_iphdr *iph, unsigned int hooknum) handle_response() argument
1337 int af = state->pf; ip_vs_out_hook() local
1469 ip_vs_try_to_schedule(struct netns_ipvs *ipvs, int af, struct sk_buff *skb, struct ip_vs_proto_data *pd, int *verdict, struct ip_vs_conn **cpp, struct ip_vs_iphdr *iph) ip_vs_try_to_schedule() argument
1504 ipvs_udp_decap(struct netns_ipvs *ipvs, struct sk_buff *skb, unsigned int offset, __u16 af, const union nf_inet_addr *daddr, __u8 *proto) ipvs_udp_decap() argument
1539 ipvs_gre_decap(struct netns_ipvs *ipvs, struct sk_buff *skb, unsigned int offset, __u16 af, const union nf_inet_addr *daddr, __u8 *proto) ipvs_gre_decap() argument
1917 int af = state->pf; ip_vs_in_hook() local
2227 ip_vs_register_hooks(struct netns_ipvs *ipvs, unsigned int af) ip_vs_register_hooks() argument
2256 ip_vs_unregister_hooks(struct netns_ipvs *ipvs, unsigned int af) ip_vs_unregister_hooks() argument
[all...]
H A Dip_vs_conn.c106 static unsigned int ip_vs_conn_hashkey(struct netns_ipvs *ipvs, int af, unsigned int proto, in ip_vs_conn_hashkey() argument
111 if (af == AF_INET6) in ip_vs_conn_hashkey()
139 return ip_vs_conn_hashkey(p->ipvs, p->af, p->protocol, addr, port); in ip_vs_conn_hashkey_param()
146 ip_vs_conn_fill_param(cp->ipvs, cp->af, cp->protocol, in ip_vs_conn_hashkey_conn()
273 cp->af == p->af && in __ip_vs_conn_in_get()
274 ip_vs_addr_equal(p->af, p->caddr, &cp->caddr) && in __ip_vs_conn_in_get()
275 ip_vs_addr_equal(p->af, p->vaddr, &cp->vaddr) && in __ip_vs_conn_in_get()
305 IP_VS_DBG_ADDR(p->af, p->caddr), ntohs(p->cport), in ip_vs_conn_in_get()
306 IP_VS_DBG_ADDR(p->af, in ip_vs_conn_in_get()
313 ip_vs_conn_fill_param_proto(struct netns_ipvs *ipvs, int af, const struct sk_buff *skb, const struct ip_vs_iphdr *iph, struct ip_vs_conn_param *p) ip_vs_conn_fill_param_proto() argument
334 ip_vs_conn_in_get_proto(struct netns_ipvs *ipvs, int af, const struct sk_buff *skb, const struct ip_vs_iphdr *iph) ip_vs_conn_in_get_proto() argument
451 ip_vs_conn_out_get_proto(struct netns_ipvs *ipvs, int af, const struct sk_buff *skb, const struct ip_vs_iphdr *iph) ip_vs_conn_out_get_proto() argument
[all...]
/kernel/linux/linux-5.10/include/net/
H A Dip_vs.h68 ip_vs_fill_iph_skb_off(int af, const struct sk_buff *skb, int offset, in ip_vs_fill_iph_skb_off() argument
75 if (af == AF_INET6) { in ip_vs_fill_iph_skb_off()
112 ip_vs_fill_iph_skb_icmp(int af, const struct sk_buff *skb, int offset, in ip_vs_fill_iph_skb_icmp() argument
120 return ip_vs_fill_iph_skb_off(af, skb, offset, hdr_flags, iphdr); in ip_vs_fill_iph_skb_icmp()
124 ip_vs_fill_iph_skb(int af, const struct sk_buff *skb, bool inverse, in ip_vs_fill_iph_skb() argument
132 return ip_vs_fill_iph_skb_off(af, skb, skb_network_offset(skb), in ip_vs_fill_iph_skb()
148 static inline void ip_vs_addr_copy(int af, union nf_inet_addr *dst, in ip_vs_addr_copy() argument
152 if (af == AF_INET6) in ip_vs_addr_copy()
159 static inline void ip_vs_addr_set(int af, union nf_inet_addr *dst, in ip_vs_addr_set() argument
163 if (af in ip_vs_addr_set()
174 ip_vs_addr_equal(int af, const union nf_inet_addr *a, const union nf_inet_addr *b) ip_vs_addr_equal() argument
189 ip_vs_dbg_addr(int af, char *buf, size_t buf_len, const union nf_inet_addr *addr, int *idx) ip_vs_dbg_addr() argument
494 u16 af; global() member
508 u16 af; /* address family */ global() member
573 u16 af; global() member
602 u16 af; global() member
619 u16 af; /* address family */ global() member
660 u16 af; /* address family */ global() member
1195 ip_vs_conn_fill_param(struct netns_ipvs *ipvs, int af, int protocol, const union nf_inet_addr *caddr, __be16 cport, const union nf_inet_addr *vaddr, __be16 vport, struct ip_vs_conn_param *p) ip_vs_conn_fill_param() argument
[all...]
/kernel/linux/linux-5.10/drivers/staging/media/atomisp/pci/isp/kernels/s3a/s3a_1.0/
H A Dia_css_s3a.host.c87 /* af fir coefficients */ in ia_css_af_encode()
108 ia_css_af_encode(&to->af, from, sizeof(to->af)); in ia_css_s3a_encode()
168 const struct sh_css_isp_af_params *af, in ia_css_af_dump()
172 "af_fir1[0]", af->fir1[0]); in ia_css_af_dump()
174 "af_fir1[1]", af->fir1[1]); in ia_css_af_dump()
176 "af_fir1[2]", af->fir1[2]); in ia_css_af_dump()
178 "af_fir1[3]", af->fir1[3]); in ia_css_af_dump()
180 "af_fir1[4]", af->fir1[4]); in ia_css_af_dump()
182 "af_fir1[5]", af in ia_css_af_dump()
167 ia_css_af_dump( const struct sh_css_isp_af_params *af, unsigned int level) ia_css_af_dump() argument
[all...]
/kernel/linux/linux-6.6/drivers/staging/media/atomisp/pci/isp/kernels/s3a/s3a_1.0/
H A Dia_css_s3a.host.c87 /* af fir coefficients */ in ia_css_af_encode()
108 ia_css_af_encode(&to->af, from, sizeof(to->af)); in ia_css_s3a_encode()
168 const struct sh_css_isp_af_params *af, in ia_css_af_dump()
172 "af_fir1[0]", af->fir1[0]); in ia_css_af_dump()
174 "af_fir1[1]", af->fir1[1]); in ia_css_af_dump()
176 "af_fir1[2]", af->fir1[2]); in ia_css_af_dump()
178 "af_fir1[3]", af->fir1[3]); in ia_css_af_dump()
180 "af_fir1[4]", af->fir1[4]); in ia_css_af_dump()
182 "af_fir1[5]", af in ia_css_af_dump()
167 ia_css_af_dump( const struct sh_css_isp_af_params *af, unsigned int level) ia_css_af_dump() argument
[all...]
/kernel/linux/linux-5.10/net/sctp/
H A Dbind_addr.c222 struct sctp_af *af; in sctp_bind_addrs_to_raw() local
247 af = sctp_get_af_specific(addr->a.v4.sin_family); in sctp_bind_addrs_to_raw()
248 len = af->to_addr_param(&addr->a, &rawaddr); in sctp_bind_addrs_to_raw()
271 struct sctp_af *af; in sctp_raw_to_bind_addrs() local
278 af = sctp_get_af_specific(param_type2af(param->type)); in sctp_raw_to_bind_addrs()
279 if (unlikely(!af) || in sctp_raw_to_bind_addrs()
280 !af->from_addr_param(&addr, rawaddr, htons(port), 0)) { in sctp_raw_to_bind_addrs()
346 if (sp->pf->af->cmp_addr(&laddr->a, &laddr2->a) && in sctp_bind_addrs_check()
404 struct sctp_af *af; in sctp_bind_addr_state() local
406 af in sctp_bind_addr_state()
431 struct sctp_af *af; sctp_find_unmatch_addr() local
489 struct sctp_af *af; sctp_is_any() local
568 struct sctp_af *af; sctp_scope() local
[all...]
/kernel/linux/linux-6.6/net/sctp/
H A Dbind_addr.c222 struct sctp_af *af; in sctp_bind_addrs_to_raw() local
247 af = sctp_get_af_specific(addr->a.v4.sin_family); in sctp_bind_addrs_to_raw()
248 len = af->to_addr_param(&addr->a, &rawaddr); in sctp_bind_addrs_to_raw()
271 struct sctp_af *af; in sctp_raw_to_bind_addrs() local
278 af = sctp_get_af_specific(param_type2af(param->type)); in sctp_raw_to_bind_addrs()
279 if (unlikely(!af) || in sctp_raw_to_bind_addrs()
280 !af->from_addr_param(&addr, rawaddr, htons(port), 0)) { in sctp_raw_to_bind_addrs()
346 if (sp->pf->af->cmp_addr(&laddr->a, &laddr2->a) && in sctp_bind_addrs_check()
404 struct sctp_af *af; in sctp_bind_addr_state() local
406 af in sctp_bind_addr_state()
431 struct sctp_af *af; sctp_find_unmatch_addr() local
489 struct sctp_af *af; sctp_is_any() local
568 struct sctp_af *af; sctp_scope() local
[all...]
/kernel/linux/linux-6.6/include/linux/netfilter/
H A Dx_tables.h238 u_int8_t af; /* address/protocol family */ member
319 struct xt_match *xt_find_match(u8 af, const char *name, u8 revision);
320 struct xt_match *xt_request_find_match(u8 af, const char *name, u8 revision);
321 struct xt_target *xt_request_find_target(u8 af, const char *name, u8 revision);
322 int xt_find_revision(u8 af, const char *name, u8 revision, int target,
325 struct xt_table *xt_find_table(struct net *net, u8 af, const char *name);
326 struct xt_table *xt_find_table_lock(struct net *net, u_int8_t af,
328 struct xt_table *xt_request_find_table_lock(struct net *net, u_int8_t af,
332 int xt_proto_init(struct net *net, u_int8_t af);
333 void xt_proto_fini(struct net *net, u_int8_t af);
[all...]
/kernel/linux/linux-5.10/drivers/pinctrl/nomadik/
H A Dpinctrl-abx500.c243 struct alternate_functions af = pct->soc->alternate_functions[gpio]; in abx500_set_mode() local
256 if (((alt_setting == ABX500_ALT_A) && (af.gpiosel_bit == UNUSED)) || in abx500_set_mode()
257 ((alt_setting == ABX500_ALT_B) && (af.alt_bit1 == UNUSED)) || in abx500_set_mode()
258 ((alt_setting == ABX500_ALT_C) && (af.alt_bit2 == UNUSED))) { in abx500_set_mode()
276 if (af.alt_bit1 != UNUSED) in abx500_set_mode()
291 if (af.alt_bit1 != UNUSED) { in abx500_set_mode()
299 af.alt_bit1, in abx500_set_mode()
300 !!(af.alta_val & BIT(0))); in abx500_set_mode()
304 if (af.alt_bit2 != UNUSED) in abx500_set_mode()
307 af in abx500_set_mode()
368 struct alternate_functions af = pct->soc->alternate_functions[gpio]; abx500_get_mode() local
[all...]
/kernel/linux/linux-6.6/drivers/pinctrl/nomadik/
H A Dpinctrl-abx500.c247 struct alternate_functions af = pct->soc->alternate_functions[gpio]; in abx500_set_mode() local
260 if (((alt_setting == ABX500_ALT_A) && (af.gpiosel_bit == UNUSED)) || in abx500_set_mode()
261 ((alt_setting == ABX500_ALT_B) && (af.alt_bit1 == UNUSED)) || in abx500_set_mode()
262 ((alt_setting == ABX500_ALT_C) && (af.alt_bit2 == UNUSED))) { in abx500_set_mode()
280 if (af.alt_bit1 != UNUSED) in abx500_set_mode()
295 if (af.alt_bit1 != UNUSED) { in abx500_set_mode()
303 af.alt_bit1, in abx500_set_mode()
304 !!(af.alta_val & BIT(0))); in abx500_set_mode()
308 if (af.alt_bit2 != UNUSED) in abx500_set_mode()
311 af in abx500_set_mode()
372 struct alternate_functions af = pct->soc->alternate_functions[gpio]; abx500_get_mode() local
[all...]
/kernel/linux/linux-5.10/include/linux/netfilter/
H A Dx_tables.h235 u_int8_t af; /* address/protocol family */ member
319 struct xt_match *xt_find_match(u8 af, const char *name, u8 revision);
320 struct xt_match *xt_request_find_match(u8 af, const char *name, u8 revision);
321 struct xt_target *xt_request_find_target(u8 af, const char *name, u8 revision);
322 int xt_find_revision(u8 af, const char *name, u8 revision, int target,
325 struct xt_table *xt_find_table_lock(struct net *net, u_int8_t af,
327 struct xt_table *xt_request_find_table_lock(struct net *net, u_int8_t af,
331 int xt_proto_init(struct net *net, u_int8_t af);
332 void xt_proto_fini(struct net *net, u_int8_t af);
509 void xt_compat_lock(u_int8_t af);
[all...]

Completed in 23 milliseconds

12345678910