Home
last modified time | relevance | path

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

/external/libpcap/
Dpcap-npf.c147 PACKET_OID_DATA *oid_data_arg; in oid_get_request() local
156 oid_data_arg = malloc(sizeof (PACKET_OID_DATA) + *lenp); in oid_get_request()
157 if (oid_data_arg == NULL) { in oid_get_request()
166 oid_data_arg->Oid = oid; in oid_get_request()
167 oid_data_arg->Length = (ULONG)(*lenp); /* XXX - check for ridiculously large value? */ in oid_get_request()
168 if (!PacketRequest(adapter, FALSE, oid_data_arg)) { in oid_get_request()
174 free(oid_data_arg); in oid_get_request()
181 *lenp = oid_data_arg->Length; in oid_get_request()
186 memcpy(data, oid_data_arg->Data, *lenp); in oid_get_request()
187 free(oid_data_arg); in oid_get_request()
[all …]