Lines Matching refs:off
41 size_t off, len; in slp_unpackSAAdvert() local
51 off = SLP_HDRLEN + slp_get_langlen(reply); in slp_unpackSAAdvert()
54 iov[0].iov_base = reply + off; in slp_unpackSAAdvert()
55 tmp_off = off; in slp_unpackSAAdvert()
56 if ((err = slp_get_string(reply, len, &off, surl)) != SLP_OK) { in slp_unpackSAAdvert()
59 iov[0].iov_len = off - tmp_off; in slp_unpackSAAdvert()
62 iov[2].iov_base = reply + off; in slp_unpackSAAdvert()
63 tmp_off = off; in slp_unpackSAAdvert()
64 if ((err = slp_get_string(reply, len, &off, scopes)) != SLP_OK) { in slp_unpackSAAdvert()
67 iov[2].iov_len = off - tmp_off; in slp_unpackSAAdvert()
70 iov[1].iov_base = reply + off; in slp_unpackSAAdvert()
71 tmp_off = off; in slp_unpackSAAdvert()
72 if ((err = slp_get_string(reply, len, &off, attrs)) != SLP_OK) { in slp_unpackSAAdvert()
75 iov[1].iov_len = off - tmp_off; in slp_unpackSAAdvert()
78 if ((err = slp_get_byte(reply, len, &off, &auth_cnt)) != SLP_OK) { in slp_unpackSAAdvert()
83 reply + off, in slp_unpackSAAdvert()
84 len - off, in slp_unpackSAAdvert()