Lines Matching defs:port
3516 uint16_t port;
3530 PRINTK("\nUsage: tcpserver <port>\n");
3535 /* Port 0 not supported , negative values not supported , max port limit is 65535 */
3537 PRINTK("\nUsage: Invalid port\n");
3541 port = (uint16_t)iPortVal;
3561 seraddr.sin_port = htons(port);
3565 PRINTK("bind ip and port failed");
3605 uint16_t port;
3608 PRINTK("\nUsage: udpserver <port>\n");
3613 /* Port 0 not supported , negative values not supported , max port limit is 65535 */
3619 port = (uint16_t)iPortVal;
3621 PRINTK("port:%d\r\n", port);
3633 seraddr.sin_port = htons(port);
3636 PRINTK("bind ip and port failed:%d\n", errno);