Home
last modified time | relevance | path

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

/freebsd-13.1/sys/netipsec/
H A Dipsec_pcb.c420 void *optdata; in ipsec_control_pcbpolicy() local
432 optdata = malloc(optlen, M_TEMP, sopt->sopt_td ? M_WAITOK: M_NOWAIT); in ipsec_control_pcbpolicy()
433 if (optdata == NULL) in ipsec_control_pcbpolicy()
440 error = sooptcopyin(sopt, optdata, optlen, optlen); in ipsec_control_pcbpolicy()
445 optdata, optlen); in ipsec_control_pcbpolicy()
447 error = ipsec_get_pcbpolicy(inp, optdata, &optlen); in ipsec_control_pcbpolicy()
449 error = sooptcopyout(sopt, optdata, optlen); in ipsec_control_pcbpolicy()
452 free(optdata, M_TEMP); in ipsec_control_pcbpolicy()
/freebsd-13.1/tests/sys/netinet6/
H A Dexthdr.py110 sp.PadN(optdata="\x00\x00\x00\x00\x00\x00"))
133 sp.PadN(optdata="\x00\x00\x00\x00\x00\x00"))
163 sp.PadN(optdata="\x00\x00\x00\x00\x00\x00"))
/freebsd-13.1/sys/netinet6/
H A Dip6_output.c1598 void *optdata; in ip6_ctloutput() local
2336 optdata = (void *)&mtuinfo; in ip6_ctloutput()
2573 free(optdata, M_TEMP); \
2581 free(optdata, M_TEMP); \
2582 optdata = NULL; \
2597 void *optdata = NULL; in ip6_getpcbopt() local
2626 optdata = (void *)&deftclass; in ip6_getpcbopt()
2647 optdata = (void *)&defminmtu; in ip6_getpcbopt()
2655 optdata = (void *)&on; in ip6_getpcbopt()
2661 optdata = (void *)&defpreftemp; in ip6_getpcbopt()
[all …]
/freebsd-13.1/tests/sys/netinet6/frag6/
H A Dfrag6_03.py120 sp.PadN(optdata="\x00\x00\x00\x00\x00\x00")) / \
H A Dfrag6_20.py118 sp.PadN(optdata="\x00\x00\x00\x00\x00\x00")) / \
H A Dfrag6_08.py130 sp.PadN(optdata="\x00\x00\x00\x00\x00\x00")) / \
/freebsd-13.1/contrib/unbound/sldns/
H A Dwire2str.c2234 uint16_t option_code, uint8_t* optdata, size_t optlen) in sldns_wire2str_edns_option_print() argument
2241 w += sldns_wire2str_edns_llq_print(s, sl, optdata, optlen); in sldns_wire2str_edns_option_print()
2244 w += sldns_wire2str_edns_ul_print(s, sl, optdata, optlen); in sldns_wire2str_edns_option_print()
2247 w += sldns_wire2str_edns_nsid_print(s, sl, optdata, optlen); in sldns_wire2str_edns_option_print()
2250 w += sldns_wire2str_edns_dau_print(s, sl, optdata, optlen); in sldns_wire2str_edns_option_print()
2253 w += sldns_wire2str_edns_dhu_print(s, sl, optdata, optlen); in sldns_wire2str_edns_option_print()
2256 w += sldns_wire2str_edns_n3u_print(s, sl, optdata, optlen); in sldns_wire2str_edns_option_print()
2259 w += sldns_wire2str_edns_subnet_print(s, sl, optdata, optlen); in sldns_wire2str_edns_option_print()
2262 w += sldns_wire2str_edns_keepalive_print(s, sl, optdata, optlen); in sldns_wire2str_edns_option_print()
2265 w += print_hex_buf(s, sl, optdata, optlen); in sldns_wire2str_edns_option_print()
[all …]
/freebsd-13.1/cddl/contrib/opensolaris/lib/libdtrace/common/
H A Ddt_consume.c2074 dtrace_setoptdata_t optdata; in dt_setopt() local
2076 bzero(&optdata, sizeof (optdata)); in dt_setopt()
2077 (void) dtrace_getopt(dtp, option, &optdata.dtsda_oldval); in dt_setopt()
2080 (void) dtrace_getopt(dtp, option, &optdata.dtsda_newval); in dt_setopt()
2081 optdata.dtsda_probe = data; in dt_setopt()
2082 optdata.dtsda_option = option; in dt_setopt()
2083 optdata.dtsda_handle = dtp; in dt_setopt()
2085 if ((rval = dt_handle_setopt(dtp, &optdata)) != 0) in dt_setopt()