Home
last modified time | relevance | path

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

/freebsd-12.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-12.1/sys/netinet6/
H A Dip6_output.c1441 void *optdata; in ip6_ctloutput() local
2145 optdata = (void *)&mtuinfo; in ip6_ctloutput()
2378 free(optdata, M_TEMP); \
2386 free(optdata, M_TEMP); \
2387 optdata = NULL; \
2402 void *optdata = NULL; in ip6_getpcbopt() local
2431 optdata = (void *)&deftclass; in ip6_getpcbopt()
2452 optdata = (void *)&defminmtu; in ip6_getpcbopt()
2460 optdata = (void *)&on; in ip6_getpcbopt()
2466 optdata = (void *)&defpreftemp; in ip6_getpcbopt()
[all …]
/freebsd-12.1/contrib/unbound/sldns/
H A Dwire2str.c1944 uint16_t option_code, uint8_t* optdata, size_t optlen) in sldns_wire2str_edns_option_print() argument
1951 w += sldns_wire2str_edns_llq_print(s, sl, optdata, optlen); in sldns_wire2str_edns_option_print()
1954 w += sldns_wire2str_edns_ul_print(s, sl, optdata, optlen); in sldns_wire2str_edns_option_print()
1957 w += sldns_wire2str_edns_nsid_print(s, sl, optdata, optlen); in sldns_wire2str_edns_option_print()
1960 w += sldns_wire2str_edns_dau_print(s, sl, optdata, optlen); in sldns_wire2str_edns_option_print()
1963 w += sldns_wire2str_edns_dhu_print(s, sl, optdata, optlen); in sldns_wire2str_edns_option_print()
1966 w += sldns_wire2str_edns_n3u_print(s, sl, optdata, optlen); in sldns_wire2str_edns_option_print()
1969 w += sldns_wire2str_edns_subnet_print(s, sl, optdata, optlen); in sldns_wire2str_edns_option_print()
1972 w += sldns_wire2str_edns_keepalive_print(s, sl, optdata, optlen); in sldns_wire2str_edns_option_print()
1975 w += print_hex_buf(s, sl, optdata, optlen); in sldns_wire2str_edns_option_print()
[all …]
/freebsd-12.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()