/src/sys/netinet6/ |
ip6_flow.c | 117 #define IP6FLOW_INSERT(hashidx, ip6f) \ 119 (ip6f)->ip6f_hashidx = (hashidx); \ 120 TAILQ_INSERT_HEAD(&ip6flowtable[(hashidx)], (ip6f), ip6f_hash); \ 121 TAILQ_INSERT_HEAD(&ip6flowlist, (ip6f), ip6f_list); \ 127 #define IP6FLOW_REMOVE(hashidx, ip6f) \ 129 TAILQ_REMOVE(&ip6flowtable[(hashidx)], (ip6f), ip6f_hash); \ 130 TAILQ_REMOVE(&ip6flowlist, (ip6f), ip6f_list); \ 170 struct ip6flow *ip6f; local in function:ip6flow_lookup 176 TAILQ_FOREACH(ip6f, &ip6flowtable[hash], ip6f_hash) { 177 if (IN6_ARE_ADDR_EQUAL(&ip6->ip6_dst, &ip6f->ip6f_dst 257 struct ip6flow *ip6f; local in function:ip6flow_fastforward 431 struct ip6flow *ip6f; local in function:ip6flow_reap_locked 500 struct ip6flow *ip6f; local in function:ip6flow_reap 513 struct ip6flow *ip6f, *next_ip6f; local in function:ip6flow_slowtimo_work 560 struct ip6flow *ip6f; local in function:ip6flow_create 637 struct ip6flow *ip6f, *next_ip6f; local in function:ip6flow_invalidate_all [all...] |
ip6_flow.c | 117 #define IP6FLOW_INSERT(hashidx, ip6f) \ 119 (ip6f)->ip6f_hashidx = (hashidx); \ 120 TAILQ_INSERT_HEAD(&ip6flowtable[(hashidx)], (ip6f), ip6f_hash); \ 121 TAILQ_INSERT_HEAD(&ip6flowlist, (ip6f), ip6f_list); \ 127 #define IP6FLOW_REMOVE(hashidx, ip6f) \ 129 TAILQ_REMOVE(&ip6flowtable[(hashidx)], (ip6f), ip6f_hash); \ 130 TAILQ_REMOVE(&ip6flowlist, (ip6f), ip6f_list); \ 170 struct ip6flow *ip6f; local in function:ip6flow_lookup 176 TAILQ_FOREACH(ip6f, &ip6flowtable[hash], ip6f_hash) { 177 if (IN6_ARE_ADDR_EQUAL(&ip6->ip6_dst, &ip6f->ip6f_dst 257 struct ip6flow *ip6f; local in function:ip6flow_fastforward 431 struct ip6flow *ip6f; local in function:ip6flow_reap_locked 500 struct ip6flow *ip6f; local in function:ip6flow_reap 513 struct ip6flow *ip6f, *next_ip6f; local in function:ip6flow_slowtimo_work 560 struct ip6flow *ip6f; local in function:ip6flow_create 637 struct ip6flow *ip6f, *next_ip6f; local in function:ip6flow_invalidate_all [all...] |
frag6.c | 171 struct ip6_frag *ip6f; local in function:frag6_input 186 IP6_EXTHDR_GET(ip6f, struct ip6_frag *, m, offset, sizeof(*ip6f)); 187 if (ip6f == NULL) 212 ((ip6f->ip6f_offlg & IP6F_MORE_FRAG) && (frgpartlen & 0x7) != 0)) { 235 fragoff = ntohs(ip6f->ip6f_offlg & IP6F_OFF_MASK); 236 if (fragoff == 0 && !(ip6f->ip6f_offlg & IP6F_MORE_FRAG)) { 241 return ip6f->ip6f_nxt; 257 if (ip6f->ip6f_ident == q6->ip6q_ident && 296 q6->ip6q_ident = ip6f->ip6f_ident [all...] |
frag6.c | 171 struct ip6_frag *ip6f; local in function:frag6_input 186 IP6_EXTHDR_GET(ip6f, struct ip6_frag *, m, offset, sizeof(*ip6f)); 187 if (ip6f == NULL) 212 ((ip6f->ip6f_offlg & IP6F_MORE_FRAG) && (frgpartlen & 0x7) != 0)) { 235 fragoff = ntohs(ip6f->ip6f_offlg & IP6F_OFF_MASK); 236 if (fragoff == 0 && !(ip6f->ip6f_offlg & IP6F_MORE_FRAG)) { 241 return ip6f->ip6f_nxt; 257 if (ip6f->ip6f_ident == q6->ip6q_ident && 296 q6->ip6q_ident = ip6f->ip6f_ident [all...] |
ip6_output.c | 899 struct ip6_frag *ip6f; local in function:ip6_output 970 ip6f = NULL; 971 error = ip6_insertfraghdr(m0, m, hlen, &ip6f); 978 ip6f->ip6f_offlg = htons((u_int16_t)((off - hlen) & ~7)); 982 ip6f->ip6f_offlg |= IP6F_MORE_FRAG; 983 ip6f->ip6f_reserved = 0; 984 ip6f->ip6f_ident = id; 985 ip6f->ip6f_nxt = nextproto; 988 sizeof(*ip6f) - sizeof(struct ip6_hdr))); 998 m->m_pkthdr.len = len + hlen + sizeof(*ip6f); [all...] |
ip6_output.c | 899 struct ip6_frag *ip6f; local in function:ip6_output 970 ip6f = NULL; 971 error = ip6_insertfraghdr(m0, m, hlen, &ip6f); 978 ip6f->ip6f_offlg = htons((u_int16_t)((off - hlen) & ~7)); 982 ip6f->ip6f_offlg |= IP6F_MORE_FRAG; 983 ip6f->ip6f_reserved = 0; 984 ip6f->ip6f_ident = id; 985 ip6f->ip6f_nxt = nextproto; 988 sizeof(*ip6f) - sizeof(struct ip6_hdr))); 998 m->m_pkthdr.len = len + hlen + sizeof(*ip6f); [all...] |
/src/sys/net/npf/ |
npf_inet.c | 472 struct ip6_frag *ip6f; local in function:npf_cache_ip 509 ip6f = nbuf_ensure_contig(nbuf, sizeof(*ip6f)); 510 if (ip6f == NULL) 514 if (!ntohs(ip6f->ip6f_offlg & IP6F_OFF_MASK) && 515 !(ip6f->ip6f_offlg & IP6F_MORE_FRAG)) {
|
npf_inet.c | 472 struct ip6_frag *ip6f; local in function:npf_cache_ip 509 ip6f = nbuf_ensure_contig(nbuf, sizeof(*ip6f)); 510 if (ip6f == NULL) 514 if (!ntohs(ip6f->ip6f_offlg & IP6F_OFF_MASK) && 515 !(ip6f->ip6f_offlg & IP6F_MORE_FRAG)) {
|