Home | History | Annotate | Download | only in rp-pppoe

Lines Matching defs:pid

77 * If a HostUnique tag is found which matches our PID, sets *extra to 1.
306 pid_t pid = getpid();
308 hostUniq.length = htons(sizeof(pid));
309 memcpy(hostUniq.payload, &pid, sizeof(pid));
310 CHECK_ROOM(cursor, packet.payload, sizeof(pid) + TAG_HDR_SIZE);
311 memcpy(cursor, &hostUniq, sizeof(pid) + TAG_HDR_SIZE);
312 cursor += sizeof(pid) + TAG_HDR_SIZE;
313 plen += sizeof(pid) + TAG_HDR_SIZE;
483 pid_t pid = getpid();
485 hostUniq.length = htons(sizeof(pid));
486 memcpy(hostUniq.payload, &pid, sizeof(pid));
487 CHECK_ROOM(cursor, packet.payload, sizeof(pid)+TAG_HDR_SIZE);
488 memcpy(cursor, &hostUniq, sizeof(pid) + TAG_HDR_SIZE);
489 cursor += sizeof(pid) + TAG_HDR_SIZE;
490 plen += sizeof(pid) + TAG_HDR_SIZE;