Searched refs:off (Results 1 - 25 of 1205) sorted by last modified time

1234567891011>>

/freebsd-11-stable/contrib/elftoolchain/readelf/
H A Dreadelf.c119 uint64_t off; /* section offset */ member in struct:section
328 off_t off);
354 Dwarf_Addr off);
355 static const char *get_string(struct readelf *re, int strtab, size_t off);
2514 if (re->sl[j].off < phdr.p_offset)
2516 if (re->sl[j].off + re->sl[j].sz >
2581 (uintmax_t)s->addr, (uintmax_t)s->off, (uintmax_t)s->sz,\
2585 (uintmax_t)s->addr, (uintmax_t)s->off, (uintmax_t)s->sz,\
2589 (uintmax_t)s->addr, (uintmax_t)s->off, s->link, \
2728 printf("\nDynamic section at offset 0x%jx", (uintmax_t)s->off);
3784 dump_notes_content(struct readelf *re, const char *buf, size_t sz, off_t off) argument
5747 Dwarf_Unsigned off, bytecnt; local
5995 get_regoff_str(struct readelf *re, Dwarf_Half reg, Dwarf_Addr off) argument
6315 Dwarf_Unsigned off; local
6833 get_string(struct readelf *re, int strtab, size_t off) argument
7316 off_t off; local
[all...]
/freebsd-11-stable/sys/contrib/ipfilter/netinet/
H A Dip_state.c684 * Turn logging of state information on/off.
1903 int off, mlen, ol, i, len, retval; local
1914 off = fin->fin_plen - fin->fin_dlen + sizeof(*tcp) + fin->fin_ipoff;
1917 mlen = MSGDSIZE(m) - off;
1925 COPYDATA(m, off, len, buf);
H A Dip_frag.c387 u_int idx, off; local
426 off = fin->fin_off >> 3;
427 if (off == 0) {
501 if (off == 0)
503 fra->ipfr_off = off + (fin->fin_dlen >> 3);
662 * layer 4 fields (and can't because they have been fragmented off.)
710 u_short off; local
718 off = fin->fin_off >> 3;
720 if (off == 0) {
729 (off <
[all...]
H A Dip_irc_pxy.c259 int off, inc = 0, i, dlen; local
279 off = (char *)tcp - (char *)ip + (TCP_OFF(tcp) << 2) + fin->fin_ipoff;
281 dlen = MSGDSIZE(m) - off;
284 COPYDATA(m, off, MIN(sizeof(ctcpbuf), dlen), ctcpbuf);
356 COPYBACK(m, off, nlen, newbuf);
H A Dip_fil_freebsd.c696 int len, off, error = 0, hlen, code; local
859 for (off = hlen + len; off < ntohs(ip->ip_len); off += len) {
878 mhip->ip_off = ((off - hlen) >> 3) + ip_off;
879 if (off + len >= ntohs(ip->ip_len))
880 len = ntohs(ip->ip_len) - off;
885 m->m_next = m_copy(m0, off, len);
1417 int off; local
1420 off
[all...]
H A Dfil.c1445 off = IP_HL(ip) << 2;
1450 if (off + tlen > M_LEN(m))
1687 u_short off; local
1700 off = ntohs(ip->ip_off);
1725 off &= IP_MF|IP_OFFMASK;
1726 if (off != 0) {
1727 int morefrag = off & IP_MF;
1730 off &= IP_OFFMASK;
1731 if (off == 1 && p == IPPROTO_TCP) {
1735 if (off !
2391 int rulen, portcmp, off, skip; local
3403 int off; local
[all...]
H A Dip_scan.c528 int i, j, rv, dlen, off, thoff; local
544 off = seq - s0;
545 if ((off > 15) || (off < 0))
553 if (off + dlen > 16)
554 dlen = 16 - off;
557 i = (0xffff & j) << off;
560 dlen, (caddr_t)is->is_sbuf[rv] + off);
H A Dip_rpcb_pxy.c203 /* Given a presumed RPCB request, perform some minor tests and pass off */
204 /* for decoding. Also pass packet off for a rewrite if necessary. */
215 u_int off, dlen; local
227 off = (char *)fin->fin_dp - (char *)fin->fin_ip;
228 off += sizeof(udphdr_t) + fin->fin_ipoff;
238 COPYDATA(m, off, dlen, (caddr_t)&rm->rm_msgbuf);
241 /* Send off to decode request. */
253 rv = ipf_p_rpcb_modreq(fin, nat, rm, m, off);
273 /* Given a presumed RPCB reply, perform some minor tests and pass off */
288 u_int off, dle local
[all...]
H A Dip_rcmd_pxy.c150 int off, dlen, nflags, direction; local
176 off = (char *)tcp - (char *)ip + tcpsz + fin->fin_ipoff;
188 COPYDATA(m, off, MIN(sizeof(portbuf), dlen), portbuf);
H A Dip_raudio_pxy.c90 int off, dlen; local
105 off = (char *)tcp - (char *)fin->fin_ip;
106 off += (TCP_OFF(tcp) << 2) + fin->fin_ipoff;
108 dlen = MSGDSIZE(m) - off;
116 COPYDATA(m, off, dlen, (char *)membuf);
196 int off, dlen, slen; local
218 off = (char *)tcp - (char *)fin->fin_ip;
219 off += (TCP_OFF(tcp) << 2) + fin->fin_ipoff;
221 dlen = MSGDSIZE(m) - off;
229 COPYDATA(m, off, dle
[all...]
H A Dip_pptp_pxy.c278 * build it up completely (fits in our buffer) then pass it off to the message
293 int dlen, off; local
301 off = (char *)tcp - (char *)fin->fin_ip + (TCP_OFF(tcp) << 2) +
327 off += pptps->pptps_bytes;
336 COPYDATA(fin->fin_m, off, len, pptps->pptps_wptr);
352 off += len;
380 COPYDATA(fin->fin_m, off, len, pptps->pptps_wptr);
H A Dip_netbios_pxy.c77 int off, dlen; local
95 off = (char *)udp - (char *)ip + sizeof(*udp) + fin->fin_ipoff;
105 off += 4;
117 COPYBACK(m, off, sizeof(dgmbuf), dgmbuf);
H A Dip_ipsec_pxy.c144 int p, off, dlen, ttl; local
156 off = fin->fin_plen - fin->fin_dlen + fin->fin_ipoff;
161 dlen = M_LEN(m) - off;
164 COPYDATA(m, off, MIN(sizeof(softi->ipsec_buffer), dlen),
367 int off; local
374 off = fin->fin_plen - fin->fin_dlen + fin->fin_ipoff;
377 COPYDATA(m, off, sizeof(cookies), (char *)cookies);
/freebsd-11-stable/sys/netgraph/
H A Dng_base.c1090 hook->hk_peer = &ng_deadhook; /* start off this way */
1930 /* Is there a chance of getting ANY work off the queue? */
1942 * the next entry off the queue and return it. Return NULL if there was
2859 int off = 0; local
2912 if ((error = ng_parse(argstype, ascii->data, &off,
3402 * Pick a node off the list of nodes with work,
3403 * try get an item to process off it. Remove the node from the list.
3418 CTR3(KTR_NET, "%20s: node [%x] (%p) taken off worklist",
3424 * let you have another item off the queue.
H A Dng_parse.c105 const char *s, int *off, const u_char *start,
108 const u_char *data, int *off, char *cbuf, int cbuflen,
122 static int ng_parse_skip_value(const char *s, int off, int *lenp);
148 const char *string, int *off, u_char *buf, int *buflen)
150 return INVOKE(type, parse)(type, string, off, buf, buf, buflen);
160 int off = 0; local
162 return INVOKE(type, unparse)(type, data, &off, cbuf, cbuflen);
185 const char *s, int *off, const u_char *const start,
188 return ng_parse_composite(type, s, off, start, buf, buflen, CT_STRUCT);
193 const u_char *data, int *off, cha
147 ng_parse(const struct ng_parse_type *type, const char *string, int *off, u_char *buf, int *buflen) argument
184 ng_struct_parse(const struct ng_parse_type *type, const char *s, int *off, const u_char *const start, u_char *const buf, int *buflen) argument
192 ng_struct_unparse(const struct ng_parse_type *type, const u_char *data, int *off, char *cbuf, int cbuflen) argument
202 int off = 0; local
238 ng_fixedarray_parse(const struct ng_parse_type *type, const char *s, int *off, const u_char *const start, u_char *const buf, int *buflen) argument
247 ng_fixedarray_unparse(const struct ng_parse_type *type, const u_char *data, int *off, char *cbuf, int cbuflen) argument
258 int off = 0; local
287 ng_array_parse(const struct ng_parse_type *type, const char *s, int *off, const u_char *const start, u_char *const buf, int *buflen) argument
295 ng_array_unparse(const struct ng_parse_type *type, const u_char *data, int *off, char *cbuf, int cbuflen) argument
305 int off = 0; local
334 ng_int8_parse(const struct ng_parse_type *type, const char *s, int *off, const u_char *const start, u_char *const buf, int *buflen) argument
353 ng_int8_unparse(const struct ng_parse_type *type, const u_char *data, int *off, char *cbuf, int cbuflen) argument
429 ng_int16_parse(const struct ng_parse_type *type, const char *s, int *off, const u_char *const start, u_char *const buf, int *buflen) argument
449 ng_int16_unparse(const struct ng_parse_type *type, const u_char *data, int *off, char *cbuf, int cbuflen) argument
525 ng_int32_parse(const struct ng_parse_type *type, const char *s, int *off, const u_char *const start, u_char *const buf, int *buflen) argument
548 ng_int32_unparse(const struct ng_parse_type *type, const u_char *data, int *off, char *cbuf, int cbuflen) argument
624 ng_int64_parse(const struct ng_parse_type *type, const char *s, int *off, const u_char *const start, u_char *const buf, int *buflen) argument
643 ng_int64_unparse(const struct ng_parse_type *type, const u_char *data, int *off, char *cbuf, int cbuflen) argument
719 ng_string_parse(const struct ng_parse_type *type, const char *s, int *off, const u_char *const start, u_char *const buf, int *buflen) argument
737 ng_string_unparse(const struct ng_parse_type *type, const u_char *data, int *off, char *cbuf, int cbuflen) argument
782 ng_fixedstring_parse(const struct ng_parse_type *type, const char *s, int *off, const u_char *const start, u_char *const buf, int *buflen) argument
806 ng_fixedstring_unparse(const struct ng_parse_type *type, const u_char *data, int *off, char *cbuf, int cbuflen) argument
886 ng_sizedstring_parse(const struct ng_parse_type *type, const char *s, int *off, const u_char *const start, u_char *const buf, int *buflen) argument
909 ng_sizedstring_unparse(const struct ng_parse_type *type, const u_char *data, int *off, char *cbuf, int cbuflen) argument
954 ng_ipaddr_parse(const struct ng_parse_type *type, const char *s, int *off, const u_char *const start, u_char *const buf, int *buflen) argument
975 ng_ipaddr_unparse(const struct ng_parse_type *type, const u_char *data, int *off, char *cbuf, int cbuflen) argument
1018 ng_enaddr_parse(const struct ng_parse_type *type, const char *s, int *const off, const u_char *const start, u_char *const buf, int *const buflen) argument
1045 ng_enaddr_unparse(const struct ng_parse_type *type, const u_char *data, int *off, char *cbuf, int cbuflen) argument
1095 ng_bytearray_parse(const struct ng_parse_type *type, const char *s, int *off, const u_char *const start, u_char *const buf, int *buflen) argument
1133 ng_bytearray_unparse(const struct ng_parse_type *type, const u_char *data, int *off, char *cbuf, int cbuflen) argument
1201 ng_parse_composite(const struct ng_parse_type *type, const char *s, int *off, const u_char *const start, u_char *const buf, int *buflen, const enum comptype ctype) argument
1378 ng_unparse_composite(const struct ng_parse_type *type, const u_char *data, int *off, char *cbuf, int cbuflen, const enum comptype ctype) argument
1647 int off = off0; local
1732 int start, off; local
1820 int off = 0; local
[all...]
H A Dng_source.c80 #define mtod_off(m,off,t) ((t)(mtod((m),caddr_t)+(off)))
/freebsd-11-stable/contrib/sqlite3/tea/
H A Dconfigure1378 --enable-64bit enable 64bit support (default: off)
1379 --enable-64bit-vis enable 64bit Sparc VIS support (default: off)
1382 --enable-symbols build with debugging symbols (default: off)
/freebsd-11-stable/contrib/unbound/validator/
H A Dautotrust.c956 /* more lines expected, snip off comments and newline */
1331 revoke_dnskey(struct autr_ta* ta, int off) argument
1342 if (off && (flags&LDNS_KEY_REVOKE_KEY))
/freebsd-11-stable/contrib/unbound/util/
H A Dnet_help.c162 unsigned long off = 0;
163 if(ioctlsocket(s, FIONBIO, &off) != 0) {
165 log_err("can't ioctlsocket FIONBIO off: %s",
/freebsd-11-stable/contrib/unbound/services/
H A Dlisten_dnsport.c537 int off = 0;
539 &off, (socklen_t)sizeof(off)) < 0) {
/freebsd-11-stable/lib/libc/posix1e/
H A Dacl_support_nfs4.c99 size_t off = 0; local
103 off += snprintf(str + off, size - off, "%s/", tmp);
104 assert (off < size);
108 if (off > 0) {
109 off--;
111 assert(str[off] == '/');
114 str[off] = '\0';
/freebsd-11-stable/sys/netinet/
H A Dtcp_output.c187 int off, flags, error = 0; /* Keep compiler happy */ local
258 off = tp->snd_nxt - tp->snd_una;
305 off = p->rxmit - tp->snd_una;
306 KASSERT(off >= 0,("%s: sack block to the left of una : %d",
307 __func__, off));
351 if (off < sbused(&so->so_snd))
378 off);
388 off);
409 * Lop off SYN bit if it has already been sent. However, if this
425 off
[all...]
/freebsd-11-stable/lib/libkvm/
H A Dkvm.c310 _kvm_hpt_insert(struct hpt *hpt, uint64_t pa, off_t off) argument
319 hpte->off = off;
325 _kvm_hpt_init(kvm_t *kd, struct hpt *hpt, void *base, size_t len, off_t off, argument
343 _kvm_hpt_insert(hpt, pa, off);
344 off += page_size;
359 return (hpte->off);
/freebsd-11-stable/sys/kern/
H A Dkern_descrip.c185 int off, maxoff; local
190 off = NDSLOT(low);
193 if ((mask &= ~map[off]) != 0UL)
194 return (off * NDENTRIES + ffsl(mask) - 1);
195 ++off;
197 for (maxoff = NDSLOTS(size); off < maxoff; ++off)
198 if (map[off] != ~0UL)
199 return (off * NDENTRIES + ffsl(~map[off])
212 int off, minoff; local
[all...]
/freebsd-11-stable/contrib/ipfilter/tools/
H A Dipmon.c1047 int i, f, lvl, res, len, off, plen, ipoff, defaction; local
1166 off = ipoff & IP_OFFMASK;
1174 off = 0;
1212 if ((p == IPPROTO_TCP || p == IPPROTO_UDP) && !off) {
1246 } else if ((p == IPPROTO_ICMPV6) && !off && (f == AF_INET6)) {
1254 } else if ((p == IPPROTO_ICMP) && !off && (f == AF_INET)) {
1331 if (off & IP_OFFMASK)
1334 plen - hl, (off & IP_OFFMASK) << 3,

Completed in 363 milliseconds

1234567891011>>