Searched refs:HDR_SIZE (Results 1 - 19 of 19) sorted by relevance

/asus-wl-520gu-7.0.1.45/src/router/rp-pppoe/
H A Dpppoe-sniff.c202 if (ntohs(pkt.length) + HDR_SIZE > size) continue;
217 if (ntohs(pkt.length) + HDR_SIZE > size) continue;
H A Dpppoe.c349 sendPacket(DiscoverySocket, &packet, (int) (plen + HDR_SIZE));
402 if (ntohs(packet.length) + HDR_SIZE > len) {
518 sendPacket(DiscoverySocket, &packet, (int) (plen + HDR_SIZE));
567 if (ntohs(packet.length) + HDR_SIZE > len) {
696 sendPacket(SessionSocket, packet, len + HDR_SIZE);
763 if (ntohs(packet.length) + HDR_SIZE > len) {
961 sendPacket(DiscoverySocket, &packet, (int) (plen + HDR_SIZE));
1289 if (ntohs(packet.length) + HDR_SIZE > len) {
1335 if (plen + HDR_SIZE > len) {
1410 if (ntohs(packet.length) + HDR_SIZE > le
[all...]
H A Dpppoe-server.c385 sendPacket(sock, &pado, (int) (plen + HDR_SIZE));
526 sendPacket(sock, &pads, (int) (plen + HDR_SIZE));
813 if (ntohs(packet.length) + HDR_SIZE > len) {
901 sendPacket(sock, &pads, (int) (plen + HDR_SIZE));
H A Dpppoe.h211 #define HDR_SIZE (sizeof(struct ethhdr) + PPPOE_OVERHEAD) macro
H A Dif.c577 memset(pkt, 0, HDR_SIZE);
/asus-wl-520gu-7.0.1.45/src/router/pppd/pppd/plugins/rp-pppoe/
H A Ddiscovery.c294 sendPacket(conn, conn->discoverySocket, &packet, (int) (plen + HDR_SIZE));
350 if (ntohs(packet.length) + HDR_SIZE > len) {
478 sendPacket(conn, conn->discoverySocket, &packet, (int) (plen + HDR_SIZE));
527 if (ntohs(packet.length) + HDR_SIZE > len) {
H A Dpppoe.h223 #define HDR_SIZE (sizeof(struct ethhdr) + PPPOE_OVERHEAD) macro
H A Dcommon.c464 sendPacket(conn, conn->discoverySocket, &packet, (int) (plen + HDR_SIZE));
H A Dif.c610 memset(pkt, 0, HDR_SIZE);
/asus-wl-520gu-7.0.1.45/src/router/pppd.mppe/pppd/plugins/rp-pppoe/
H A Ddiscovery.c292 sendPacket(conn, conn->discoverySocket, &packet, (int) (plen + HDR_SIZE));
348 if (ntohs(packet.length) + HDR_SIZE > len) {
476 sendPacket(conn, conn->discoverySocket, &packet, (int) (plen + HDR_SIZE));
525 if (ntohs(packet.length) + HDR_SIZE > len) {
H A Dpppoe.h223 #define HDR_SIZE (sizeof(struct ethhdr) + PPPOE_OVERHEAD) macro
H A Dcommon.c464 sendPacket(conn, conn->discoverySocket, &packet, (int) (plen + HDR_SIZE));
H A Dif.c610 memset(pkt, 0, HDR_SIZE);
/asus-wl-520gu-7.0.1.45/src/router/pppoe-relay/
H A Drelay.c930 if (ntohs(packet.length) + HDR_SIZE > size) {
937 if (size > ntohs(packet.length) + HDR_SIZE) {
938 size = ntohs(packet.length) + HDR_SIZE;
1011 if (ntohs(packet.length) + HDR_SIZE > size) {
1018 if (size > ntohs(packet.length) + HDR_SIZE) {
1019 size = ntohs(packet.length) + HDR_SIZE;
1609 size = ntohs(packet.length) + HDR_SIZE;
H A Dpppoe.h233 #define HDR_SIZE (sizeof(struct ethhdr) + PPPOE_OVERHEAD) macro
H A Dcommon.c468 sendPacket(conn, conn->discoverySocket, &packet, (int) (plen + HDR_SIZE));
H A Dif.c612 memset(pkt, 0, HDR_SIZE);
/asus-wl-520gu-7.0.1.45/src/router/httpd/
H A Ddp.h392 #define HDR_SIZE (sizeof(struct ethhdr) + PPPOE_OVERHEAD) macro
H A Ddiscover.c314 sendPacket(conn, conn->discoverySocket, &packet, (int) (plen + HDR_SIZE));

Completed in 226 milliseconds