Home
last modified time | relevance | path

Searched refs:optdata (Results 1 – 8 of 8) sorted by relevance

/freebsd/sys/netipsec/
H A Dipsec_pcb.c436 void *optdata; in ipsec_control_pcbpolicy()
448 optdata = malloc(optlen, M_TEMP, sopt->sopt_td ? M_WAITOK: M_NOWAIT); in ipsec_control_pcbpolicy()
449 if (optdata == NULL) in ipsec_control_pcbpolicy()
456 error = sooptcopyin(sopt, optdata, optlen, optlen);
461 optdata, optlen); in ipsec4_pcbctl()
463 error = ipsec_get_pcbpolicy(inp, optdata, &optlen); in ipsec4_pcbctl()
465 error = sooptcopyout(sopt, optdata, optlen); in ipsec4_pcbctl()
468 free(optdata, M_TEMP);
418 void *optdata; ipsec_control_pcbpolicy() local
/freebsd/tests/sys/netinet6/
H A Dexthdr.py109 sp.PadN(optdata="\x00\x00\x00\x00\x00\x00"))
132 sp.PadN(optdata="\x00\x00\x00\x00\x00\x00"))
162 sp.PadN(optdata="\x00\x00\x00\x00\x00\x00"))
/freebsd/sys/netinet6/
H A Dip6_output.c1615 void *optdata; in ip6_ctloutput() local
2313 optdata = (void *)&mtuinfo; in ip6_ctloutput()
2315 error = sooptcopyout(sopt, optdata, in ip6_ctloutput()
2550 optdata = malloc(sopt->sopt_valsize, M_TEMP, M_WAITOK); \
2555 free(optdata, M_TEMP); \
2561 bcopy(pktopt->field, optdata, optdatalen); \
2563 free(optdata, M_TEMP); \
2564 optdata = NULL; \
2579 void *optdata = NULL; in ip6_getpcbopt() local
2594 optdata = (void *)&null_pktinfo; in ip6_getpcbopt()
[all …]
/freebsd/contrib/unbound/sldns/
H A Dwire2str.c2323 uint16_t option_code, uint8_t* optdata, size_t optlen) in sldns_wire2str_edns_option_print() argument
2330 w += sldns_wire2str_edns_llq_print(s, sl, optdata, optlen); in sldns_wire2str_edns_option_print()
2333 w += sldns_wire2str_edns_ul_print(s, sl, optdata, optlen); in sldns_wire2str_edns_option_print()
2336 w += sldns_wire2str_edns_nsid_print(s, sl, optdata, optlen); in sldns_wire2str_edns_option_print()
2339 w += sldns_wire2str_edns_dau_print(s, sl, optdata, optlen); in sldns_wire2str_edns_option_print()
2342 w += sldns_wire2str_edns_dhu_print(s, sl, optdata, optlen); in sldns_wire2str_edns_option_print()
2345 w += sldns_wire2str_edns_n3u_print(s, sl, optdata, optlen); in sldns_wire2str_edns_option_print()
2348 w += sldns_wire2str_edns_subnet_print(s, sl, optdata, optlen); in sldns_wire2str_edns_option_print()
2351 w += sldns_wire2str_edns_keepalive_print(s, sl, optdata, optlen); in sldns_wire2str_edns_option_print()
2354 w += print_hex_buf(s, sl, optdata, optlen); in sldns_wire2str_edns_option_print()
[all …]
/freebsd/tests/sys/netinet6/frag6/
H A Dfrag6_03.py119 sp.PadN(optdata="\x00\x00\x00\x00\x00\x00")) / \
H A Dfrag6_20.py117 sp.PadN(optdata="\x00\x00\x00\x00\x00\x00")) / \
H A Dfrag6_08.py129 sp.PadN(optdata="\x00\x00\x00\x00\x00\x00")) / \
/freebsd/cddl/contrib/opensolaris/lib/libdtrace/common/
H A Ddt_consume.c2956 dtrace_setoptdata_t optdata; in dt_setopt() local
2958 bzero(&optdata, sizeof (optdata)); in dt_setopt()
2959 (void) dtrace_getopt(dtp, option, &optdata.dtsda_oldval); in dt_setopt()
2962 (void) dtrace_getopt(dtp, option, &optdata.dtsda_newval); in dt_setopt()
2963 optdata.dtsda_probe = data; in dt_setopt()
2964 optdata.dtsda_option = option; in dt_setopt()
2965 optdata.dtsda_handle = dtp; in dt_setopt()
2967 if ((rval = dt_handle_setopt(dtp, &optdata)) != 0) in dt_setopt()