Lines Matching refs:htons
161 conn->cookie.type = htons(type); in parsePADOTags()
162 conn->cookie.length = htons(len); in parsePADOTags()
166 conn->relayId.type = htons(type); in parsePADOTags()
167 conn->relayId.length = htons(len); in parsePADOTags()
246 conn->relayId.type = htons(type); in parsePADSTags()
247 conn->relayId.length = htons(len); in parsePADSTags()
283 packet.ethHdr.h_proto = htons(Eth_PPPOE_Discovery); in sendPADI()
293 svc->length = htons(namelen); in sendPADI()
307 hostUniq.type = htons(TAG_HOST_UNIQ); in sendPADI()
308 hostUniq.length = htons(sizeof(pid)); in sendPADI()
319 UINT16_t mru = htons(MIN(lcp_allowoptions[0].mru, lcp_wantoptions[0].mru)); in sendPADI()
320 maxPayload.type = htons(TAG_PPP_MAX_PAYLOAD); in sendPADI()
321 maxPayload.length = htons(sizeof(mru)); in sendPADI()
329 packet.length = htons(plen); in sendPADI()
468 packet.ethHdr.h_proto = htons(Eth_PPPOE_Discovery); in sendPADR()
474 svc->length = htons(namelen); in sendPADR()
484 hostUniq.type = htons(TAG_HOST_UNIQ); in sendPADR()
485 hostUniq.length = htons(sizeof(pid)); in sendPADR()
496 UINT16_t mru = htons(MIN(lcp_allowoptions[0].mru, lcp_wantoptions[0].mru)); in sendPADR()
497 maxPayload.type = htons(TAG_PPP_MAX_PAYLOAD); in sendPADR()
498 maxPayload.length = htons(sizeof(mru)); in sendPADR()
523 packet.length = htons(plen); in sendPADR()