Lines Matching refs:off
42 size_t len, off; in slp_unpackDAAdvert() local
53 off = SLP_HDRLEN + slp_get_langlen(reply); in slp_unpackDAAdvert()
55 if ((err = slp_get_sht(reply, len, &off, &protoErrCode)) != SLP_OK) in slp_unpackDAAdvert()
64 iov[0].iov_base = reply + off; in slp_unpackDAAdvert()
65 tmp_off = off; in slp_unpackDAAdvert()
66 if ((err = slp_get_sht(reply, len, &off, &dummy)) != SLP_OK) { in slp_unpackDAAdvert()
69 if ((err = slp_get_sht(reply, len, &off, &dummy)) != SLP_OK) { in slp_unpackDAAdvert()
72 iov[0].iov_len = off - tmp_off; in slp_unpackDAAdvert()
75 iov[1].iov_base = reply + off; in slp_unpackDAAdvert()
76 tmp_off = off; in slp_unpackDAAdvert()
77 if ((err = slp_get_string(reply, len, &off, surl)) != SLP_OK) { in slp_unpackDAAdvert()
80 iov[1].iov_len = off - tmp_off; in slp_unpackDAAdvert()
83 iov[3].iov_base = reply + off; in slp_unpackDAAdvert()
84 tmp_off = off; in slp_unpackDAAdvert()
85 if ((err = slp_get_string(reply, len, &off, scopes)) != SLP_OK) { in slp_unpackDAAdvert()
88 iov[3].iov_len = off - tmp_off; in slp_unpackDAAdvert()
91 iov[2].iov_base = reply + off; in slp_unpackDAAdvert()
92 tmp_off = off; in slp_unpackDAAdvert()
93 if ((err = slp_get_string(reply, len, &off, attrs)) != SLP_OK) { in slp_unpackDAAdvert()
96 iov[2].iov_len = off - tmp_off; in slp_unpackDAAdvert()
99 iov[4].iov_base = reply + off; in slp_unpackDAAdvert()
100 tmp_off = off; in slp_unpackDAAdvert()
101 if ((err = slp_get_string(reply, len, &off, spis)) != SLP_OK) { in slp_unpackDAAdvert()
104 iov[4].iov_len = off - tmp_off; in slp_unpackDAAdvert()
107 if ((err = slp_get_byte(reply, len, &off, &auth_cnt)) != SLP_OK) { in slp_unpackDAAdvert()
112 reply + off, in slp_unpackDAAdvert()
113 len - off, in slp_unpackDAAdvert()