Lines Matching defs:port
106 int check_signal(int s, char* ip, unsigned char* ttl, unsigned short* port) {
156 *port = ntohs(s_in.sin_port);
162 char* ip, char* ttl, unsigned short *port) {
181 *port = ntohs(uh->uh_sport);
210 void send_stuff(int s, char* sip, char* ip, unsigned short port, int dlen) {
253 dst.sin_port = htons(port);
260 uh->uh_dport = htons(port);
316 unsigned short port;
398 ip, &ttl, &port)) {
401 ip, port, ttl);
417 if (check_signal(us, ipnew, &ttlnew, &port)) {
427 ip, port, ttl);
432 send_stuff(s, sip, ip, port, 69 + (TTLSENT-ttl));
439 send_stuff(s, sip, ip, port, PRGA_LEN);