/netbsd-current/lib/libc/net/ |
H A D | ip6opt.c | 341 uint8_t *optp, *lim; local 373 for (optp = *tptrp; optp < lim; optp += optlen) { 374 if (*optp == type) { 375 *tptrp = optp; 378 if ((optlen = ip6optlen(optp, lim)) == 0) 497 uint8_t *optp = (uint8_t *)extbuf + offset; local 501 *optp = IP6OPT_PAD1; 502 optp 558 uint8_t *optp, *lim; local 609 uint8_t *optp, *lim; local [all...] |
/netbsd-current/crypto/external/bsd/openssl/dist/apps/ |
H A D | kdf.c | 51 static char *alloc_kdf_algorithm_name(STACK_OF(OPENSSL_STRING) **optp, 57 if (*optp == NULL) 58 *optp = sk_OPENSSL_STRING_new_null(); 59 if (*optp == NULL) 64 if (sk_OPENSSL_STRING_push(*optp, res))
|
H A D | mac.c | 55 static char *alloc_mac_algorithm_name(STACK_OF(OPENSSL_STRING) **optp, 61 if (*optp == NULL) 62 *optp = sk_OPENSSL_STRING_new_null(); 63 if (*optp == NULL) 68 if (sk_OPENSSL_STRING_push(*optp, res))
|
/netbsd-current/sys/netinet/ |
H A D | tcp_syncache.c | 878 unsigned int toff, struct socket *so, struct mbuf *m, u_char *optp, 898 if (optp || (tp->t_flags & TF_SIGNATURE)) 900 if (optp) 908 if (tcp_dooptions(&tb, optp, optlen, th, m, toff, oi) < 0) 1081 u_int8_t *optp; local 1172 optp = (u_int8_t *)(th + 1); 1174 *optp++ = TCPOPT_MAXSEG; 1175 *optp++ = TCPOLEN_MAXSEG; 1176 *optp++ = (sc->sc_ourmaxseg >> 8) & 0xff; 1177 *optp 877 syn_cache_add(struct sockaddr *src, struct sockaddr *dst, struct tcphdr *th, unsigned int toff, struct socket *so, struct mbuf *m, u_char *optp, int optlen, struct tcp_opt_info *oi) argument [all...] |
H A D | tcp_output.c | 518 u_char opt[MAX_TCPOPTLEN], *optp; local 1051 optp = opt; 1075 *optp++ = TCPOPT_MAXSEG; 1076 *optp++ = TCPOLEN_MAXSEG; 1077 *optp++ = (tp->t_ourmss >> 8) & 0xff; 1078 *optp++ = tp->t_ourmss & 0xff; 1085 *((uint32_t *)optp) = htonl( 1090 optp += TCPOLEN_WINDOW + TCPOLEN_NOP; 1094 *optp++ = TCPOPT_SACK_PERMITTED; 1095 *optp [all...] |
H A D | dccp_usrreq.c | 198 u_char *optp = NULL; local 519 optp = (u_char *)(dlh + 1); 521 optp = (u_char *)(dh + 1); 533 optp = (u_char *)(drqh + 1); 543 optp = (u_char *)(drth + 1); 560 optp = (u_char *)(drqh + 1); 566 optp = (u_char *)(dalh + 1); 570 optp = (u_char *)(dah + 1); 601 memcpy(options, optp, optlen); 1126 u_char *optp local [all...] |
H A D | tcp_input.c | 1185 u_int8_t *optp = NULL; 1336 optp = ((u_int8_t *)th) + sizeof(struct tcphdr); 1348 optp[TCPOLEN_TSTAMP_APPA] == TCPOPT_EOL)) && 1349 be32dec(optp) == TCPOPT_TSTAMP_HDR && 1352 opti.ts_val = be32dec(optp + 4); 1353 opti.ts_ecr = be32dec(optp + 8); 1354 optp = NULL; /* we've parsed the options */ 1700 so, m, optp, optlen, &opti)) 1725 if (optp || (tp->t_flags & TF_SIGNATURE)) 1727 if (optp) 1183 u_int8_t *optp = NULL; local [all...] |
/netbsd-current/sys/dist/pf/net/ |
H A D | pf_osfp.c | 126 const u_int8_t *optp; local 194 optp = (const u_int8_t *)((const char *)tcp + sizeof(*tcp)); 195 for (; cnt > 0; cnt -= optlen, optp += optlen) { 196 if (*optp == TCPOPT_EOL) 200 if (*optp == TCPOPT_NOP) { 207 optlen = optp[1]; 210 switch (*optp) { 213 memcpy(&fp.fp_mss, &optp[2], 221 memcpy(&fp.fp_wscale, &optp[2], 235 memcpy(&ts, &optp[ [all...] |
H A D | pf_norm.c | 1885 u_char *optp; local 1889 optp = mtod(m, u_char *) + off + sizeof(struct tcphdr); 1891 for (; cnt > 0; cnt -= optlen, optp += optlen) { 1892 opt = optp[0]; 1900 optlen = optp[1]; 1906 mss = (u_int16_t *)(optp + 2);
|
/netbsd-current/usr.sbin/mld6query/ |
H A D | mld6.c | 163 void *hbhbuf = NULL, *optp = NULL; local 230 2, &optp)) == -1) 233 (void)inet6_opt_set_val(optp, 0, &rtalert_code, sizeof(rtalert_code));
|
/netbsd-current/external/bsd/flex/dist/src/ |
H A D | scanopt.c | 667 const optspec_t *optp; 761 optp = s->options + opt_offset; 775 return optp->r_val; 792 return optp->r_val; 799 return optp->r_val; 663 const optspec_t *optp; local
|
/netbsd-current/sys/netinet6/ |
H A D | raw_ip6.c | 376 struct ip6_pktopts opt, *optp = NULL; local 392 optp = &opt; 394 optp = in6p_outputopts(inp); 441 error = in6_selectsrc(dstsock, optp, in6p_moptions(inp), 508 error = ip6_output(m, optp, &inp->inp_route, 0,
|
H A D | ip6_output.c | 1432 struct ip6_pktopts **optp; local 1441 optp = &in6p_outputopts(inp); 1445 optp, 1564 struct ip6_pktopts **optp; local 1570 optp = &in6p_outputopts(inp); 1574 optp, 1587 struct ip6_pktopts **optp; local 1588 optp = &in6p_outputopts(inp); 1592 optp, 1654 struct ip6_pktopts **optp; local [all...] |
H A D | udp6_usrreq.c | 747 struct ip6_pktopts *optp = NULL; local 793 optp = &opt; 795 optp = in6p_outputopts(inp); 854 error = in6_selectsrc(sin6, optp, 1007 error = ip6_output(m, optp, &inp->inp_route, 0, 1054 if (optp == &opt)
|
H A D | ip6_input.c | 1035 ip6_unknown_opt(u_int8_t *optp, struct mbuf *m, int off) argument 1039 switch (IP6OPT_TYPE(*optp)) { 1041 return ((int)*(optp + 1));
|
/netbsd-current/external/bsd/am-utils/dist/amd/ |
H A D | opts.c | 74 char **optp; /* Pointer to option value string */ member in struct:opt 516 *op->optp = opt; /* actual assignment into fs_static */ 1189 val = *op->optp;
|
/netbsd-current/usr.sbin/rtadvd/ |
H A D | rtadvd.c | 1042 struct nd_optlist *optp; local 1182 TAILQ_FOREACH(optp, &ndopts.nd_opts_list, next) 1183 if (prefix_check((struct nd_opt_prefix_info *)optp->opt,
|