Searched defs:check (Results 1 - 11 of 11) sorted by relevance

/net/bridge/netfilter/
H A Debtable_broute.c37 static int check(const struct ebt_table_info *info, unsigned int valid_hooks) function
49 .check = check,
H A Debtable_nat.c46 static int check(const struct ebt_table_info *info, unsigned int valid_hooks) function
58 .check = check,
H A Debtable_filter.c46 static int check(const struct ebt_table_info *info, unsigned int valid_hooks) function
58 .check = check,
/net/netfilter/
H A Dxt_multiport.c98 check(u_int16_t proto, function
119 return check(ip->proto, ip->invflags, multiinfo->flags,
128 return check(ip->proto, ip->invflags, multiinfo->flags,
/net/ipv4/netfilter/
H A Dnf_nat_l3proto_ipv4.c99 csum_replace4(&iph->check, iph->saddr, target->src.u3.ip);
102 csum_replace4(&iph->check, iph->daddr, target->dst.u3.ip);
109 unsigned int iphdroff, __sum16 *check,
123 inet_proto_csum_replace4(check, skb, oldip, newip, 1);
127 u8 proto, void *data, __sum16 *check,
140 skb->csum_offset = (void *)check - data;
141 *check = ~csum_tcpudp_magic(iph->saddr, iph->daddr,
144 *check = 0;
145 *check = csum_tcpudp_magic(iph->saddr, iph->daddr,
149 if (proto == IPPROTO_UDP && !*check)
108 nf_nat_ipv4_csum_update(struct sk_buff *skb, unsigned int iphdroff, __sum16 *check, const struct nf_conntrack_tuple *t, enum nf_nat_manip_type maniptype) argument
126 nf_nat_ipv4_csum_recalc(struct sk_buff *skb, u8 proto, void *data, __sum16 *check, int datalen, int oldlen) argument
[all...]
H A Dnf_nat_snmp_basic.c625 __sum16 *check);
901 __sum16 *check)
912 if (*check) {
913 fast_csum(check,
927 __sum16 *check)
955 mangle_address(ctx->begin, ctx->pointer - 4, map, check);
1021 __sum16 *check)
1108 unsigned char ret = snmp_trap_decode(&ctx, &trap, map, check);
1160 mangle_address(ctx.begin, ctx.pointer - 4 , map, check);
1210 paylen, &map, &udph->check)) {
898 mangle_address(unsigned char *begin, unsigned char *addr, const struct oct1_map *map, __sum16 *check) argument
924 snmp_trap_decode(struct asn1_ctx *ctx, struct snmp_v1_trap *trap, const struct oct1_map *map, __sum16 *check) argument
1018 snmp_parse_mangle(unsigned char *msg, u_int16_t len, const struct oct1_map *map, __sum16 *check) argument
[all...]
/net/ipv6/netfilter/
H A Dnf_nat_l3proto_ipv6.c112 unsigned int iphdroff, __sum16 *check,
126 inet_proto_csum_replace16(check, skb, oldip->s6_addr32,
131 u8 proto, void *data, __sum16 *check,
144 skb->csum_offset = (void *)check - data;
145 *check = ~csum_ipv6_magic(&ipv6h->saddr, &ipv6h->daddr,
148 *check = 0;
149 *check = csum_ipv6_magic(&ipv6h->saddr, &ipv6h->daddr,
153 if (proto == IPPROTO_UDP && !*check)
154 *check = CSUM_MANGLED_0;
157 inet_proto_csum_replace2(check, sk
111 nf_nat_ipv6_csum_update(struct sk_buff *skb, unsigned int iphdroff, __sum16 *check, const struct nf_conntrack_tuple *t, enum nf_nat_manip_type maniptype) argument
130 nf_nat_ipv6_csum_recalc(struct sk_buff *skb, u8 proto, void *data, __sum16 *check, int datalen, int oldlen) argument
[all...]
/net/batman-adv/
H A Drouting.c167 /* check if we have another candidate with the same mac address or
555 * @skb: packet to check
559 * value when check fails and 0 otherwise. The negative value depends on the
684 /* check if it is a backbone gateway. we don't accept
950 /* check if there is enough data before accessing it */
961 /* check if the destination client was served by this node and it is now
983 * value is used later to check if the node which sent (or re-routed
1001 /* check if the TTVN contained in the packet is fresher than what the
1053 int check, hdr_size = sizeof(*unicast_packet); local
1065 check
[all...]
/net/netfilter/ipvs/
H A Dip_vs_lblcr.c69 * It is for full expiration check.
70 * When there is no partial expiration check (garbage collection)
71 * in a half hour, do a full expiration check to collect stale
104 struct ip_vs_dest *dest, bool check)
108 if (check) {
291 int rover; /* rover for expire check */
470 * The full expiration check is for this purpose now.
483 /* do full expiration check */
103 ip_vs_dest_set_insert(struct ip_vs_dest_set *set, struct ip_vs_dest *dest, bool check) argument
/net/openvswitch/
H A Dactions.c146 inet_proto_csum_replace4(&tcp_hdr(skb)->check, skb,
152 if (uh->check || skb->ip_summed == CHECKSUM_PARTIAL) {
153 inet_proto_csum_replace4(&uh->check, skb,
155 if (!uh->check)
156 uh->check = CSUM_MANGLED_0;
161 csum_replace4(&nh->check, *addr, new_addr);
173 inet_proto_csum_replace16(&tcp_hdr(skb)->check, skb,
179 if (uh->check || skb->ip_summed == CHECKSUM_PARTIAL) {
180 inet_proto_csum_replace16(&uh->check, skb,
182 if (!uh->check)
288 set_tp_port(struct sk_buff *skb, __be16 *port, __be16 new_port, __sum16 *check) argument
[all...]
/net/rxrpc/
H A Drxkad.c166 u16 check; local
172 check = ntohl(sp->hdr.seq ^ sp->hdr.callNumber);
173 data_size |= (u32) check << 16;
211 u16 check; local
218 check = ntohl(sp->hdr.seq ^ sp->hdr.callNumber);
220 rxkhdr.data_size = htonl(data_size | (u32) check << 16);
338 u16 check; local
370 check = buf >> 16;
371 check ^= ntohl(sp->hdr.seq ^ sp->hdr.callNumber);
372 check
413 u16 check; local
[all...]

Completed in 224 milliseconds