Searched refs:optdata (Results 1 – 8 of 8) sorted by relevance
| /src/sys/netipsec/ |
| H A D | ipsec_pcb.c | 436 void *optdata; in ipsec_control_pcbpolicy() local 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); in ipsec_control_pcbpolicy() 461 optdata, optlen); in ipsec_control_pcbpolicy() 463 error = ipsec_get_pcbpolicy(inp, optdata, &optlen); in ipsec_control_pcbpolicy() 465 error = sooptcopyout(sopt, optdata, optlen); in ipsec_control_pcbpolicy() 468 free(optdata, M_TEMP); in ipsec_control_pcbpolicy()
|
| /src/tests/sys/netinet6/ |
| H A D | exthdr.py | 109 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"))
|
| /src/sys/netinet6/ |
| H A D | ip6_output.c | 1476 void *optdata; in ip6_ctloutput() local 2174 optdata = (void *)&mtuinfo; in ip6_ctloutput() 2176 error = sooptcopyout(sopt, optdata, in ip6_ctloutput() 2411 optdata = malloc(sopt->sopt_valsize, M_TEMP, M_WAITOK); \ 2416 free(optdata, M_TEMP); \ 2422 bcopy(pktopt->field, optdata, optdatalen); \ 2424 free(optdata, M_TEMP); \ 2425 optdata = NULL; \ 2440 void *optdata = NULL; in ip6_getpcbopt() local 2455 optdata = (void *)&null_pktinfo; in ip6_getpcbopt() [all …]
|
| /src/contrib/unbound/sldns/ |
| H A D | wire2str.c | 2371 uint16_t option_code, uint8_t* optdata, size_t optlen) in sldns_wire2str_edns_option_print() argument 2378 w += sldns_wire2str_edns_llq_print(s, sl, optdata, optlen); in sldns_wire2str_edns_option_print() 2381 w += sldns_wire2str_edns_ul_print(s, sl, optdata, optlen); in sldns_wire2str_edns_option_print() 2384 w += sldns_wire2str_edns_nsid_print(s, sl, optdata, optlen); in sldns_wire2str_edns_option_print() 2387 w += sldns_wire2str_edns_dau_print(s, sl, optdata, optlen); in sldns_wire2str_edns_option_print() 2390 w += sldns_wire2str_edns_dhu_print(s, sl, optdata, optlen); in sldns_wire2str_edns_option_print() 2393 w += sldns_wire2str_edns_n3u_print(s, sl, optdata, optlen); in sldns_wire2str_edns_option_print() 2396 w += sldns_wire2str_edns_subnet_print(s, sl, optdata, optlen); in sldns_wire2str_edns_option_print() 2399 w += sldns_wire2str_edns_keepalive_print(s, sl, optdata, optlen); in sldns_wire2str_edns_option_print() 2402 w += print_hex_buf(s, sl, optdata, optlen); in sldns_wire2str_edns_option_print() [all …]
|
| /src/tests/sys/netinet6/frag6/ |
| H A D | frag6_03.py | 119 sp.PadN(optdata="\x00\x00\x00\x00\x00\x00")) / \
|
| H A D | frag6_20.py | 117 sp.PadN(optdata="\x00\x00\x00\x00\x00\x00")) / \
|
| H A D | frag6_08.py | 129 sp.PadN(optdata="\x00\x00\x00\x00\x00\x00")) / \
|
| /src/cddl/contrib/opensolaris/lib/libdtrace/common/ |
| H A D | dt_consume.c | 2955 dtrace_setoptdata_t optdata; in dt_setopt() local 2957 bzero(&optdata, sizeof (optdata)); in dt_setopt() 2958 (void) dtrace_getopt(dtp, option, &optdata.dtsda_oldval); in dt_setopt() 2961 (void) dtrace_getopt(dtp, option, &optdata.dtsda_newval); in dt_setopt() 2962 optdata.dtsda_probe = data; in dt_setopt() 2963 optdata.dtsda_option = option; in dt_setopt() 2964 optdata.dtsda_handle = dtp; in dt_setopt() 2966 if ((rval = dt_handle_setopt(dtp, &optdata)) != 0) in dt_setopt()
|