Home | History | Annotate | Download | only in netinet

Lines Matching refs:objp

6188 /*              objp(O)  - where to store ipfobj structure                  */
6195 /* If objp is not NULL then we assume that the caller wants to see what is */
6200 ipf_inobj(ipf_main_softc_t *softc, void *data, ipfobj_t *objp, void *ptr,
6212 if (objp == NULL)
6213 objp = &obj;
6214 error = BCOPYIN(data, objp, sizeof(*objp));
6220 if (objp->ipfo_type != type) {
6225 if (objp->ipfo_rev >= ipf_objbytes[type][2]) {
6227 if (objp->ipfo_size < ipf_objbytes[type][1]) {
6232 } else if (objp->ipfo_size == ipf_objbytes[type][1]) {
6233 size = objp->ipfo_size;
6238 error = COPYIN(objp->ipfo_ptr, ptr, size);
6245 error = ipf_in_compat(softc, objp, ptr, 0);
8405 /* objp(I) - ipfobj_t structure to load data into */
8417 ipf_matcharray_load(ipf_main_softc_t *softc, void *data, ipfobj_t *objp,
8424 error = BCOPYIN(data, objp, sizeof(*objp));
8430 if (objp->ipfo_type != IPFOBJ_IPFEXPR) {
8435 if (((objp->ipfo_size & 3) != 0) || (objp->ipfo_size == 0) ||
8436 (objp->ipfo_size > 1024)) {
8441 arraysize = objp->ipfo_size * sizeof(*array);
8448 error = COPYIN(objp->ipfo_ptr, array, arraysize);