Lines Matching refs:off
43 size_t off, len; in slp_unpackSAAdvert() local
53 off = SLP_HDRLEN + slp_get_langlen(reply); in slp_unpackSAAdvert()
56 iov[0].iov_base = reply + off; in slp_unpackSAAdvert()
57 tmp_off = off; in slp_unpackSAAdvert()
58 if ((err = slp_get_string(reply, len, &off, surl)) != SLP_OK) { in slp_unpackSAAdvert()
61 iov[0].iov_len = off - tmp_off; in slp_unpackSAAdvert()
64 iov[2].iov_base = reply + off; in slp_unpackSAAdvert()
65 tmp_off = off; in slp_unpackSAAdvert()
66 if ((err = slp_get_string(reply, len, &off, scopes)) != SLP_OK) { in slp_unpackSAAdvert()
69 iov[2].iov_len = off - tmp_off; in slp_unpackSAAdvert()
72 iov[1].iov_base = reply + off; in slp_unpackSAAdvert()
73 tmp_off = off; in slp_unpackSAAdvert()
74 if ((err = slp_get_string(reply, len, &off, attrs)) != SLP_OK) { in slp_unpackSAAdvert()
77 iov[1].iov_len = off - tmp_off; in slp_unpackSAAdvert()
80 if ((err = slp_get_byte(reply, len, &off, &auth_cnt)) != SLP_OK) { in slp_unpackSAAdvert()
85 reply + off, in slp_unpackSAAdvert()
86 len - off, in slp_unpackSAAdvert()