Searched refs:start (Results 1 - 25 of 167) sorted by relevance

1234567

/net/ipv6/
H A Dexthdrs_core.c50 * It skips all well-known exthdrs, and returns pointer to the start
71 int ipv6_skip_exthdr(const struct sk_buff *skb, int start, u8 *nexthdrp, argument
84 hp = skb_header_pointer(skb, start, sizeof(_hdr), &_hdr);
90 start+offsetof(struct frag_hdr,
107 start += hdrlen;
111 return start;
188 unsigned int start = skb_network_offset(skb) + sizeof(struct ipv6hdr); local
204 start = *offset + sizeof(struct ipv6hdr);
207 len = skb->len - start;
220 hp = skb_header_pointer(skb, start, sizeo
[all...]
/net/tipc/
H A Dsocket.h48 int tipc_sk_ref_table_init(u32 requested_size, u32 start);
/net/core/
H A Ddatagram.c314 * @offset: offset in the buffer to start copying from
323 int start = skb_headlen(skb); local
324 int i, copy = start - offset;
345 WARN_ON(start > offset + len);
347 end = start + skb_frag_size(frag);
357 offset - start, copy);
365 start = end;
371 WARN_ON(start > offset + len);
373 end = start + frag_iter->len;
378 offset - start,
410 int start = skb_headlen(skb); local
499 int start = skb_headlen(skb); local
652 int start = skb_headlen(skb); local
[all...]
/net/sctp/
H A Dtsnmap.c46 __u16 len, __u16 *start, __u16 *end);
160 /* Only start looking one past the Cumulative TSN Ack Point. */
161 iter->start = map->cumulative_tsn_ack_point + 1;
169 __u16 *start, __u16 *end)
175 if (TSN_lte(map->max_tsn_seen, iter->start))
178 offset = iter->start - map->base_tsn;
186 /* If we found a Gap Ack Block, return the start and end and
190 /* Fix up the start and end based on the
193 *start = start_ + 1;
197 iter->start
167 sctp_tsnmap_next_gap_ack(const struct sctp_tsnmap *map, struct sctp_tsnmap_iter *iter, __u16 *start, __u16 *end) argument
287 sctp_tsnmap_find_gap_ack(unsigned long *map, __u16 off, __u16 len, __u16 *start, __u16 *end) argument
340 __u16 start = 0, end = 0; local
[all...]
/net/rds/
H A Dinfo.c164 unsigned long start; local
178 start = (unsigned long)optval;
179 if (len < 0 || len + PAGE_SIZE - 1 < len || start + len < start) {
188 nr_pages = (PAGE_ALIGN(start + len) - (start & PAGE_MASK))
196 ret = get_user_pages_fast(start, nr_pages, 1, pages);
217 iter.offset = start & (PAGE_SIZE - 1);
/net/wireless/
H A Dgenregdb.awk56 start = $1
57 sub(/\(/, "", start)
119 printf "\t\tREG_RULE_EXT(%d, %d, %d, %d, %.0f, %d, %s),\n", start, end, bw, gain, power, dfs_cac, flags
/net/rose/
H A Drose_out.c52 unsigned short start, end; local
63 start = (skb_peek(&rose->ack_queue) == NULL) ? rose->va : rose->vs;
66 if (start == end)
69 rose->vs = start;
/net/netfilter/
H A Dnf_conntrack_amanda.c94 unsigned int dataoff, start, stop, off, i; local
117 start = skb_find_text(skb, dataoff, skb->len,
119 if (start == UINT_MAX)
121 start += dataoff + search[SEARCH_CONNECT].len;
124 stop = skb_find_text(skb, start, skb->len,
128 stop += start;
132 off = skb_find_text(skb, start, stop, search[i].ts, &ts);
135 off += start + search[i].len;
H A Dnf_conntrack_sip.c199 const char *start = dptr; local
215 dptr = start;
233 const char *start = dptr, *limit = dptr + datalen, *end; local
272 *matchoff = dptr - start;
365 const char *start = dptr, *limit = dptr + datalen; local
407 *matchoff = dptr - start;
419 *matchoff = dptr - start + shift;
433 const char *start = dptr, *limit = dptr + datalen; local
447 *matchoff = dptr - start;
536 const char *start; local
565 const char *start, *end; local
592 const char *start; local
726 const char *start = dptr, *limit = dptr + datalen; local
[all...]
/net/nfc/hci/
H A Dllc.h32 int (*start) (struct nfc_llc *llc); member in struct:nfc_llc_ops
H A Dllc_nop.c88 .start = llc_nop_start,
/net/netfilter/ipvs/
H A Dip_vs_ftp.c91 char **start, char **end)
150 *start = s;
175 char *start, *end; local
215 &start, &end) != 1)
274 start-data, end-start,
319 char *start, *end; local
378 &start, &end) != 1)
87 ip_vs_ftp_get_addrport(char *data, char *data_limit, const char *pattern, size_t plen, char skip, char term, __be32 *addr, __be16 *port, char **start, char **end) argument
H A Dip_vs_est.c66 unsigned int start; local
73 start = u64_stats_fetch_begin(&s->syncp);
76 } while (u64_stats_fetch_retry(&s->syncp, start));
85 start = u64_stats_fetch_begin(&s->syncp);
88 } while (u64_stats_fetch_retry(&s->syncp, start));
/net/sunrpc/xprtrdma/
H A Dsvc_rdma_marshal.c101 unsigned long start, end; local
118 start = (unsigned long)&ary->wc_array[0];
121 nchunks > (SIZE_MAX - start) / sizeof(struct rpcrdma_write_chunk) ||
122 (start + (sizeof(struct rpcrdma_write_chunk) * nchunks)) > end) {
136 unsigned long start, end; local
152 start = (unsigned long)&ary->wc_array[0];
155 nchunks > (SIZE_MAX - start) / sizeof(struct rpcrdma_write_chunk) ||
156 (start + (sizeof(struct rpcrdma_write_chunk) * nchunks)) > end) {
/net/irda/irnet/
H A Dirnet_ppp.c50 char * start; /* Current command being processed */ local
77 start = next;
80 start = skip_spaces(start);
83 next = strchr(start, ',');
87 length = next - start; /* Length */
91 length = strlen(start);
93 DEBUG(CTRL_INFO, "Found command ``%s'' (%d).\n", start, length);
99 if(!strncmp(start, "name", 4))
102 if((length > 5) && (strcmp(start
[all...]
/net/openvswitch/
H A Dvport.h201 * the result of a hash table lookup. @priv must point to the start of the
221 const void *start, unsigned int len)
224 skb->csum = csum_add(skb->csum, csum_partial(start, len, 0));
220 ovs_skb_postpush_rcsum(struct sk_buff *skb, const void *start, unsigned int len) argument
H A Dflow_table.c55 return range->end - range->start;
62 mask->range.start);
64 mask->range.start);
65 long *d = (long *)((u8 *)dst + mask->range.start);
416 int key_start = mask->range.start;
538 const u8 *a_ = (const u8 *)&a->key + a->range.start;
539 const u8 *b_ = (const u8 *)&b->key + b->range.start;
542 && (a->range.start == b->range.start)
596 flow->hash = flow_hash(&flow->key, flow->mask->range.start,
[all...]
H A Dflow_netlink.c56 size_t start = rounddown(offset, sizeof(long)); local
67 if (range->start == range->end) {
68 range->start = start;
73 if (range->start > start)
74 range->start = start;
1353 int rem, start, err, st_acts; local
1374 start
1428 int err, start; local
1726 struct nlattr *start; local
1763 struct nlattr *start; local
[all...]
/net/bridge/netfilter/
H A Debt_among.c27 int start, limit, i; local
32 start = wh->table[key];
35 for (i = start; i < limit; i++) {
42 for (i = start; i < limit; i++) {
/net/lapb/
H A Dlapb_out.c74 unsigned short modulus, start, end; local
77 start = !skb_peek(&lapb->ack_queue) ? lapb->va : lapb->vs;
81 start != end && skb_peek(&lapb->write_queue)) {
82 lapb->vs = start;
/net/netrom/
H A Dnr_out.c129 unsigned short start, end; local
140 start = (skb_peek(&nr->ack_queue) == NULL) ? nr->va : nr->vs;
143 if (start == end)
146 nr->vs = start;
/net/x25/
H A Dx25_out.c144 unsigned short start, end; local
169 start = skb_peek(&x25->ack_queue) ? x25->vs : x25->va;
172 if (start == end)
175 x25->vs = start;
/net/dccp/
H A Dackvec.c94 * number, start with the oldest record first. If @ackno is `before'
179 u16 start = __ackvec_idx_add(av->av_buf_head, 1), local
180 len = DCCPAV_MAX_ACKVEC_LEN - start;
184 memset(av->av_buf + start, DCCPAV_NOT_RECEIVED, len);
185 start = 0;
189 memset(av->av_buf + start, DCCPAV_NOT_RECEIVED, num);
/net/xfrm/
H A Dxfrm_ipcomp.c47 const u8 *start = skb->data; local
51 int err = crypto_comp_decompress(tfm, start, plen, scratch, &dlen);
143 u8 *start = skb->data; local
151 err = crypto_comp_compress(tfm, start, plen, scratch, &dlen);
160 memcpy(start + sizeof(struct ip_comp_hdr), scratch, dlen);
/net/9p/
H A Dtrans_virtio.c174 * @start: which segment of the sg_list to start at
185 static int pack_sg_list(struct scatterlist *sg, int start, argument
189 int index = start;
202 if (index-start)
204 return index-start;
217 * @start: which segment of the sg_list to start at
224 pack_sg_list_p(struct scatterlist *sg, int start, int limit, argument
229 int index = start;
[all...]

Completed in 505 milliseconds

1234567