/net/rxrpc/ |
H A D | Makefile | 5 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/ |
H A D | x_tables.c | 76 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...] |
/net/netfilter/ipvs/ |
H A D | ip_vs_proto_ah_esp.c | 44 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 D | ip_vs_proto_udp.c | 32 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 D | ip_vs_dh.c | 75 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 D | ip_vs_sh.c | 89 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 D | ip_vs_lblc.c | 94 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 D | ip_vs_pe_sip.c | 73 ip_vs_fill_iph_skb(p->af, skb, &iph); 112 if (ct->af == p->af && 113 ip_vs_addr_equal(p->af, p->caddr, &ct->caddr) && 116 ip_vs_addr_equal(p->protocol == IPPROTO_IP ? AF_UNSPEC : p->af, 128 IP_VS_DBG_ADDR(p->af, p->vaddr), ntohs(p->vport),
|
H A D | ip_vs_conn.c | 111 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 D | ip_vs_lblcr.c | 204 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 D | ip_vs_core.c | 212 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(¶m, 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(¶m, 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 D | ip_vs_proto_tcp.c | 35 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 D | ip_vs_ctl.c | 266 ip_vs_svc_hashkey(struct net *net, int af, unsigned int proto, argument 274 if (af == AF_INET6) 312 hash = ip_vs_svc_hashkey(svc->net, svc->af, svc->protocol, 360 __ip_vs_service_find(struct net *net, int af, __u16 protocol, argument 367 hash = ip_vs_svc_hashkey(net, af, protocol, vaddr, vport); 370 if ((svc->af == af) 371 && ip_vs_addr_equal(af, &svc->addr, vaddr) 388 __ip_vs_svc_fwm_find(struct net *net, int af, __u32 fwmark) argument 397 if (svc->fwmark == fwmark && svc->af 409 ip_vs_service_find(struct net *net, int af, __u32 fwmark, __u16 protocol, const union nf_inet_addr *vaddr, __be16 vport) argument 499 ip_vs_rs_hashkey(int af, const union nf_inet_addr *addr, __be16 port) argument 547 ip_vs_has_real_service(struct net *net, int af, __u16 protocol, const union nf_inet_addr *daddr, __be16 dport) argument [all...] |
H A D | ip_vs_proto_sctp.c | 12 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 D | ip_vs_fo.c | 47 IP_VS_DBG_ADDR(hweight->af, &hweight->addr),
|
H A D | ip_vs_lc.c | 62 IP_VS_DBG_ADDR(least->af, &least->addr),
|
H A D | ip_vs_nq.c | 110 IP_VS_DBG_ADDR(least->af, &least->addr),
|
H A D | ip_vs_sed.c | 111 IP_VS_DBG_ADDR(least->af, &least->addr),
|
H A D | ip_vs_wlc.c | 83 IP_VS_DBG_ADDR(least->af, &least->addr),
|
/net/sctp/ |
H A D | bind_addr.c | 230 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 D | input.c | 119 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 D | proc.c | 127 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 D | sm_make_chunk.c | 109 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...] |
H A D | socket.c | 180 struct sctp_af *af; local 183 af = sctp_sockaddr_af(sctp_sk(sk), addr, len); 184 if (!af) 188 if (!af->addr_valid(addr, sctp_sk(sk), NULL)) 300 struct sctp_af *af; local 317 /* If we get this far, af is valid. */ 318 af = sctp_get_af_specific(addr->sa.sa_family); 320 if (len < af->sockaddr_len) 323 return af; 333 struct sctp_af *af; local 459 struct sctp_af *af; local 517 struct sctp_af *af; local 636 struct sctp_af *af; local 719 struct sctp_af *af; local 864 struct sctp_af *af; local 967 struct sctp_af *af; local 1083 struct sctp_af *af; local 3149 struct sctp_af *af; local 3710 struct sctp_af *af = sctp_sk(sk)->pf->af; local 3868 struct sctp_af *af; local 5962 struct sctp_af *af = sctp_sk(sk)->pf->af; local 6290 struct sctp_af *af = sctp_sk(sk)->pf->af; local 6539 struct sctp_af *af; local [all...] |
/net/ipv4/netfilter/ |
H A D | arptable_filter.c | 24 .af = NFPROTO_ARP,
|