Lines Matching refs:cli
771 struct sockaddr_in cli; in send_app() local
780 memset(&cli, 0, sizeof(cli)); in send_app()
781 cli.sin_family = AF_INET; in send_app()
782 cli.sin_port = htons(DHCPC_CLIENT_PORT); in send_app()
783 cli.sin_addr.s_addr = state->pdhcp.ciaddr; in send_app()
784 if (bind(fd, (struct sockaddr *)&cli, sizeof(cli)) == -1) { in send_app()
788 memset(&cli, 0, sizeof(cli)); in send_app()
789 cli.sin_family = AF_INET; in send_app()
790 cli.sin_port = htons(DHCPC_SERVER_PORT); in send_app()
791 cli.sin_addr.s_addr = state->serverid.s_addr; in send_app()
792 if (connect(fd, (struct sockaddr *)&cli, sizeof(cli)) == -1) { in send_app()