Searched defs:af (Results 1 - 25 of 29) sorted by relevance

12

/net/rxrpc/
H A DMakefile5 af-rxrpc-y := \
23 af-rxrpc-$(CONFIG_PROC_FS) += ar-proc.o
24 af-rxrpc-$(CONFIG_SYSCTL) += sysctl.o
26 obj-$(CONFIG_AF_RXRPC) += af-rxrpc.o
/net/netfilter/ipvs/
H A Dip_vs_proto_ah_esp.c44 ah_esp_conn_fill_param_proto(struct net *net, int af, argument
49 ip_vs_conn_fill_param(net, af, IPPROTO_UDP,
53 ip_vs_conn_fill_param(net, af, IPPROTO_UDP,
59 ah_esp_conn_in_get(int af, const struct sk_buff *skb, argument
67 ah_esp_conn_fill_param_proto(net, af, iph, inverse, &p);
78 IP_VS_DBG_ADDR(af, &iph->saddr),
79 IP_VS_DBG_ADDR(af, &iph->daddr));
87 ah_esp_conn_out_get(int af, const struct sk_buff *skb, argument
94 ah_esp_conn_fill_param_proto(net, af, iph, inverse, &p);
101 IP_VS_DBG_ADDR(af,
110 ah_esp_conn_schedule(int af, struct sk_buff *skb, struct ip_vs_proto_data *pd, int *verdict, struct ip_vs_conn **cpp, struct ip_vs_iphdr *iph) argument
[all...]
H A Dip_vs_dh.c75 static inline unsigned int ip_vs_dh_hashkey(int af, const union nf_inet_addr *addr) argument
80 if (af == AF_INET6)
92 ip_vs_dh_get(int af, struct ip_vs_dh_state *s, const union nf_inet_addr *addr) argument
94 return rcu_dereference(s->buckets[ip_vs_dh_hashkey(af, addr)].dest);
226 dest = ip_vs_dh_get(svc->af, s, &iph->daddr);
236 IP_VS_DBG_ADDR(svc->af, &iph->daddr),
237 IP_VS_DBG_ADDR(dest->af, &dest->addr),
H A Dip_vs_proto.c304 ip_vs_tcpudp_debug_packet(int af, struct ip_vs_protocol *pp, argument
310 if (af == AF_INET6)
H A Dip_vs_proto_udp.c32 udp_conn_schedule(int af, struct sk_buff *skb, struct ip_vs_proto_data *pd, argument
48 svc = ip_vs_service_find(net, af, skb->mark, iph->protocol,
84 udp_fast_csum_update(int af, struct udphdr *uhdr, argument
90 if (af == AF_INET6)
106 udp_partial_csum_update(int af, struct udphdr *uhdr, argument
112 if (af == AF_INET6)
136 if (cp->af == AF_INET6 && iph->fragoffs)
149 if (pp->csum_check && !pp->csum_check(cp->af, skb, pp))
171 udp_partial_csum_update(cp->af, udph, &cp->daddr, &cp->vaddr,
176 udp_fast_csum_update(cp->af, udp
291 udp_csum_check(int af, struct sk_buff *skb, struct ip_vs_protocol *pp) argument
[all...]
H A Dip_vs_sh.c89 ip_vs_sh_hashkey(int af, const union nf_inet_addr *addr, argument
95 if (af == AF_INET6)
111 unsigned int hash = ip_vs_sh_hashkey(svc->af, addr, port, 0);
133 ihash = ip_vs_sh_hashkey(svc->af, addr, port, 0);
141 IP_VS_DBG_ADDR(dest->af, &dest->addr), ntohs(dest->port));
148 hash = ip_vs_sh_hashkey(svc->af, addr, port, roffset);
156 IP_VS_DBG_ADDR(dest->af, &dest->addr),
195 i, IP_VS_DBG_ADDR(dest->af, &dest->addr),
344 IP_VS_DBG_ADDR(svc->af, &iph->saddr),
345 IP_VS_DBG_ADDR(dest->af,
[all...]
H A Dip_vs_lblc.c94 int af; /* address family */ member in struct:ip_vs_lblc_entry
153 ip_vs_lblc_hashkey(int af, const union nf_inet_addr *addr) argument
158 if (af == AF_INET6)
173 unsigned int hash = ip_vs_lblc_hashkey(en->af, &en->addr);
182 ip_vs_lblc_get(int af, struct ip_vs_lblc_table *tbl, argument
185 unsigned int hash = ip_vs_lblc_hashkey(af, addr);
189 if (ip_vs_addr_equal(af, &en->addr, addr))
202 u16 af, struct ip_vs_dest *dest)
206 en = ip_vs_lblc_get(af, tbl, daddr);
216 en->af
201 ip_vs_lblc_new(struct ip_vs_lblc_table *tbl, const union nf_inet_addr *daddr, u16 af, struct ip_vs_dest *dest) argument
[all...]
H A Dip_vs_proto_sctp.c12 sctp_conn_schedule(int af, struct sk_buff *skb, struct ip_vs_proto_data *pd, argument
39 (svc = ip_vs_service_find(net, af, skb->mark, iph->protocol,
87 if (cp->af == AF_INET6 && iph->fragoffs)
99 if (pp->csum_check && !pp->csum_check(cp->af, skb, pp))
134 if (cp->af == AF_INET6 && iph->fragoffs)
146 if (pp->csum_check && !pp->csum_check(cp->af, skb, pp))
174 sctp_csum_check(int af, struct sk_buff *skb, struct ip_vs_protocol *pp) argument
181 if (af == AF_INET6)
196 IP_VS_DBG_RL_PKT(0, af, pp, skb, 0,
378 ihl = cp->af
[all...]
H A Dip_vs_proto_tcp.c35 tcp_conn_schedule(int af, struct sk_buff *skb, struct ip_vs_proto_data *pd, argument
54 (svc = ip_vs_service_find(net, af, skb->mark, iph->protocol,
89 tcp_fast_csum_update(int af, struct tcphdr *tcph, argument
95 if (af == AF_INET6)
110 tcp_partial_csum_update(int af, struct tcphdr *tcph, argument
116 if (af == AF_INET6)
140 if (cp->af == AF_INET6 && iph->fragoffs)
153 if (pp->csum_check && !pp->csum_check(cp->af, skb, pp))
171 tcp_partial_csum_update(cp->af, tcph, &cp->daddr, &cp->vaddr,
176 tcp_fast_csum_update(cp->af, tcp
288 tcp_csum_check(int af, struct sk_buff *skb, struct ip_vs_protocol *pp) argument
[all...]
H A Dip_vs_conn.c111 static unsigned int ip_vs_conn_hashkey(struct net *net, int af, unsigned int proto, argument
116 if (af == AF_INET6)
144 return ip_vs_conn_hashkey(p->net, p->af, p->protocol, addr, port);
151 ip_vs_conn_fill_param(ip_vs_conn_net(cp), cp->af, cp->protocol,
277 cp->af == p->af &&
278 ip_vs_addr_equal(p->af, p->caddr, &cp->caddr) &&
279 ip_vs_addr_equal(p->af, p->vaddr, &cp->vaddr) &&
309 IP_VS_DBG_ADDR(p->af, p->caddr), ntohs(p->cport),
310 IP_VS_DBG_ADDR(p->af,
317 ip_vs_conn_fill_param_proto(int af, const struct sk_buff *skb, const struct ip_vs_iphdr *iph, int inverse, struct ip_vs_conn_param *p) argument
338 ip_vs_conn_in_get_proto(int af, const struct sk_buff *skb, const struct ip_vs_iphdr *iph, int inverse) argument
442 ip_vs_conn_out_get_proto(int af, const struct sk_buff *skb, const struct ip_vs_iphdr *iph, int inverse) argument
[all...]
H A Dip_vs_lblcr.c204 IP_VS_DBG_ADDR(least->af, &least->addr),
250 IP_VS_DBG_ADDR(most->af, &most->addr), ntohs(most->port),
264 int af; /* address family */ member in struct:ip_vs_lblcr_entry
316 ip_vs_lblcr_hashkey(int af, const union nf_inet_addr *addr) argument
321 if (af == AF_INET6)
336 unsigned int hash = ip_vs_lblcr_hashkey(en->af, &en->addr);
345 ip_vs_lblcr_get(int af, struct ip_vs_lblcr_table *tbl, argument
348 unsigned int hash = ip_vs_lblcr_hashkey(af, addr);
352 if (ip_vs_addr_equal(af, &en->addr, addr))
365 u16 af, struc
364 ip_vs_lblcr_new(struct ip_vs_lblcr_table *tbl, const union nf_inet_addr *daddr, u16 af, struct ip_vs_dest *dest) argument
[all...]
H A Dip_vs_core.c212 ip_vs_conn_fill_param(svc->net, svc->af, protocol, caddr, cport, vaddr,
245 if (svc->af == AF_INET6)
254 IP_VS_DBG_ADDR(svc->af, &iph->saddr), ntohs(src_port),
255 IP_VS_DBG_ADDR(svc->af, &iph->daddr), ntohs(dst_port),
256 IP_VS_DBG_ADDR(svc->af, &snet));
331 ct = ip_vs_conn_new(&param, dest->af, &dest->addr, dport,
357 ip_vs_conn_fill_param(svc->net, svc->af, iph->protocol, &iph->saddr,
360 cp = ip_vs_conn_new(&param, dest->af, &dest->addr, dport, flags, dest,
427 IP_VS_DBG_PKT(12, svc->af, pp, skb, 0,
436 (cp = pp->conn_in_get(svc->af, sk
662 ip_vs_route_me_harder(int af, struct sk_buff *skb) argument
790 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) argument
1042 handle_response(int af, struct sk_buff *skb, struct ip_vs_proto_data *pd, struct ip_vs_conn *cp, struct ip_vs_iphdr *iph) argument
1109 ip_vs_out(unsigned int hooknum, struct sk_buff *skb, int af) argument
1568 ip_vs_in(unsigned int hooknum, struct sk_buff *skb, int af) argument
[all...]
H A Dip_vs_sync.c538 if (unlikely(cp->af != AF_INET))
667 if (cp->af == AF_INET6)
717 s->v4.type = (cp->af == AF_INET6 ? STYPE_F_INET6 : 0);
730 if (cp->af == AF_INET6) {
784 ip_vs_conn_fill_param_sync(struct net *net, int af, union ip_vs_sync_conn *sc, argument
790 if (af == AF_INET6)
791 ip_vs_conn_fill_param(net, af, sc->v6.protocol,
798 ip_vs_conn_fill_param(net, af, sc->v4.protocol,
1056 unsigned int af, state, pe_data_len=0, pe_name_len=0; local
1065 af
[all...]
/net/sctp/
H A Dbind_addr.c230 struct sctp_af *af; local
255 af = sctp_get_af_specific(addr->a.v4.sin_family);
256 len = af->to_addr_param(&addr->a, &rawaddr);
279 struct sctp_af *af; local
286 af = sctp_get_af_specific(param_type2af(param->type));
287 if (unlikely(!af)) {
293 af->from_addr_param(&addr, rawaddr, htons(port), 0);
377 struct sctp_af *af; local
380 af = sctp_get_af_specific(addr->sa.sa_family);
381 if (unlikely(!af))
409 struct sctp_af *af; local
467 struct sctp_af *af; local
545 struct sctp_af *af; local
[all...]
H A Dproc.c127 struct sctp_af *af; local
147 af = sctp_get_af_specific(addr->sa.sa_family);
148 if (primary && af->cmp_addr(addr, primary)) {
151 af->seq_dump_addr(seq, addr);
161 struct sctp_af *af; local
171 af = sctp_get_af_specific(addr->sa.sa_family);
172 if (af->cmp_addr(addr, primary)) {
175 af->seq_dump_addr(seq, addr);
H A Dtransport.c272 struct sctp_af *af = transport->af_specific; local
274 af->get_dst(transport, saddr, &transport->fl, sctp_opt2sk(opt));
279 af->get_saddr(opt, transport, &transport->fl);
H A Dinput.c119 struct sctp_af *af; local
151 af = sctp_get_af_specific(family);
152 if (unlikely(!af))
156 af->from_skb(&src, skb, 1);
157 af->from_skb(&dest, skb, 0);
170 if (!af->addr_valid(&src, NULL, skb) ||
171 !af->addr_valid(&dest, NULL, skb))
187 if (sk->sk_bound_dev_if && (sk->sk_bound_dev_if != af->skb_iif(skb))) {
477 struct sctp_af *af; local
487 af
945 struct sctp_af *af; local
1005 struct sctp_af *af; local
[all...]
H A Dassociola.c887 struct sctp_af *af; local
889 af = sctp_get_af_specific(ss1->sa.sa_family);
890 if (unlikely(!af))
893 return af->cmp_addr(ss1, ss2);
H A Dipv6.c832 struct sctp_af *af; local
836 af = sctp_get_af_specific(addr->sa.sa_family);
856 af = opt->pf->af;
858 return af->available(addr, opt);
866 struct sctp_af *af = NULL; local
870 af = sctp_get_af_specific(addr->sa.sa_family);
885 af = opt->pf->af;
888 return af !
[all...]
H A Dprotocol.c170 struct sctp_af *af; local
175 af = list_entry(pos, struct sctp_af, list);
176 af->copy_addrlist(&net->sctp.local_addr_list, dev);
822 int sctp_register_af(struct sctp_af *af) argument
824 switch (af->sa_family) {
828 sctp_af_v4_specific = af;
833 sctp_af_v6_specific = af;
839 INIT_LIST_HEAD(&af->list);
840 list_add_tail(&af->list, &sctp_address_families);
982 .af
[all...]
H A Dsm_make_chunk.c109 struct sctp_af *af; local
112 af = sctp_get_af_specific(ipver2af(ip_hdr(chunk->skb)->version));
113 if (af)
114 iif = af->skb_iif(chunk->skb);
1576 struct sctp_af *af; local
1586 af = sctp_get_af_specific(ipver2af(ip_hdr(skb)->version));
1587 if (unlikely(!af))
1589 af->from_skb(&asoc->c.peer_addr, skb, 1);
2298 struct sctp_af *af; local
2323 af
2498 struct sctp_af *af; local
2751 struct sctp_af *af = sctp_get_af_specific(addr->v4.sin_family); local
2808 struct sctp_af *af; local
2894 struct sctp_af *af = sctp_get_af_specific(addr->v4.sin_family); local
3002 struct sctp_af *af; local
3267 struct sctp_af *af; local
[all...]
/net/bridge/
H A Dbr_netlink.c124 struct nlattr *af; local
138 af = nla_nest_start(skb, IFLA_AF_SPEC);
139 if (!af)
157 nla_nest_end(skb, af);
/net/sunrpc/
H A Dsvc_xprt.c1155 * @af: Address family of transport's local address
1167 struct net *net, const sa_family_t af,
1183 if (af != AF_UNSPEC && af != xprt->xpt_local.ss_family)
1166 svc_find_xprt(struct svc_serv *serv, const char *xcl_name, struct net *net, const sa_family_t af, const unsigned short port) argument
/net/core/
H A Drtnetlink.c1142 struct nlattr *af; local
1145 if (!(af = nla_nest_start(skb, af_ops->family)))
1157 nla_nest_cancel(skb, af);
1161 nla_nest_end(skb, af);
1344 struct nlattr *af; local
1347 nla_for_each_nested(af, tb[IFLA_AF_SPEC], rem) {
1350 if (!(af_ops = rtnl_af_lookup(nla_type(af))))
1357 err = af_ops->validate_link_af(dev, af);
1703 struct nlattr *af; local
1706 nla_for_each_nested(af, t
[all...]
/net/netfilter/
H A Dx_tables.c76 u_int8_t af = target->family; local
78 mutex_lock(&xt[af].mutex);
79 list_add(&target->list, &xt[af].target);
80 mutex_unlock(&xt[af].mutex);
88 u_int8_t af = target->family; local
90 mutex_lock(&xt[af].mutex);
92 mutex_unlock(&xt[af].mutex);
126 u_int8_t af = match->family; local
128 mutex_lock(&xt[af].mutex);
129 list_add(&match->list, &xt[af]
138 u_int8_t af = match->family; local
182 xt_find_match(u8 af, const char *name, u8 revision) argument
225 xt_find_target(u8 af, const char *name, u8 revision) argument
252 xt_request_find_target(u8 af, const char *name, u8 revision) argument
266 match_revfn(u8 af, const char *name, u8 revision, int *bestp) argument
286 target_revfn(u8 af, const char *name, u8 revision, int *bestp) argument
307 xt_find_revision(u8 af, const char *name, u8 revision, int target, int *err) argument
422 xt_compat_add_offset(u_int8_t af, unsigned int offset, int delta) argument
447 xt_compat_flush_offsets(u_int8_t af) argument
458 xt_compat_calc_jump(u_int8_t af, unsigned int offset) argument
476 xt_compat_init_offsets(u_int8_t af, unsigned int number) argument
713 xt_find_table_lock(struct net *net, u_int8_t af, const char *name) argument
734 xt_compat_lock(u_int8_t af) argument
740 xt_compat_unlock(u_int8_t af) argument
917 u_int8_t af; member in struct:xt_names_priv
923 u_int8_t af = priv->af; local
933 u_int8_t af = priv->af; local
941 u_int8_t af = priv->af; local
1234 xt_proto_init(struct net *net, u_int8_t af) argument
1286 xt_proto_fini(struct net *net, u_int8_t af) argument
[all...]

Completed in 1469 milliseconds

12