Home
last modified time | relevance | path

Searched refs:peer (Results 1 – 13 of 13) sorted by relevance

/busybox-1.35.0/networking/
Disrv.c80 int isrv_register_fd(isrv_state_t *state, int peer, int fd) in isrv_register_fd() argument
84 DPRINTF("register_fd(peer:%d,fd:%d)", peer, fd); in isrv_register_fd()
97 DPRINTF("register_fd: FD2PEER[%d] = %d", fd, peer); in isrv_register_fd()
99 FD2PEER[fd] = peer; in isrv_register_fd()
142 static void remove_peer(isrv_state_t *state, int peer) in remove_peer() argument
147 DPRINTF("remove_peer(%d)", peer); in remove_peer()
151 if (FD2PEER[fd] == peer) { in remove_peer()
156 if (FD2PEER[fd] > peer) in remove_peer()
164 movesize = (PEER_COUNT - peer) * sizeof(void*); in remove_peer()
166 memcpy(&PARAM_TBL[peer], &PARAM_TBL[peer+1], movesize); in remove_peer()
[all …]
Disrv_identd.c47 int peer; in new_peer() local
50 peer = isrv_register_peer(state, buf); in new_peer()
51 if (peer < 0) in new_peer()
53 if (isrv_register_fd(state, peer, fd) < 0) in new_peer()
54 return peer; /* failure, unregister peer */ in new_peer()
Disrv.h22 int isrv_register_fd(isrv_state_t *state, int peer, int fd);
Dntpd.c2379 char *peer = llist_pop(&peers); in ntp_init() local
2381 if (strncmp(peer, "keyno:", 6) == 0) { in ntp_init()
2384 peer += 6; in ntp_init()
2385 end = strchr(peer, ':'); in ntp_init()
2388 key_id = xatou_range(peer, 1, MAX_KEY_NUMBER); in ntp_init()
2391 peer = end + 1; in ntp_init()
2393 add_peers(peer, key_entry); in ntp_init()
/busybox-1.35.0/networking/libiproute/
Dlibnetlink.h16 struct sockaddr_nl peer; member
30 #define rtnl_talk(rtnl, n, peer, groups, answer, junk, jarg) \ argument
32 extern int rtnl_talk(struct rtnl_handle *rtnl, struct nlmsghdr *n, pid_t peer,
Dipaddress.c645 inet_prefix peer; in ipaddr_modify() local
671 get_prefix(&peer, *argv, req.ifa.ifa_family); in ipaddr_modify()
672 peer_len = peer.bytelen; in ipaddr_modify()
674 req.ifa.ifa_family = peer.family; in ipaddr_modify()
676 addattr_l(&req.n, sizeof(req), IFA_ADDRESS, &peer.data, peer.bytelen); in ipaddr_modify()
677 req.ifa.ifa_prefixlen = peer.bitlen; in ipaddr_modify()
767 peer = lcl; in ipaddr_modify()
779 brd = peer; in ipaddr_modify()
Dlibnetlink.c229 pid_t peer, unsigned groups, in rtnl_talk() argument
235 #define peer 0 in rtnl_talk() macro
306 if (nladdr.nl_pid != peer || in rtnl_talk()
/busybox-1.35.0/docs/
Dtcp.txt25 data, and it may be reported as error, not EOF, on peer's side.
52 and if peer sends any data to us after this, kernel still responds with
55 In practice the protocol in use often does not allow peer to send
58 Solution #3: if you know that peer is going to close its end after it sees
60 When read finishes with 0-sized result, we conclude that peer received all
72 /* At this point, kernel sent FIN packet, not RST, to the peer, */
73 /* even if there is buffered read data from the peer. */
/busybox-1.35.0/networking/ssl_helper-wolfssl/
Dssl_helper.c118 WOLFSSL_X509* peer = wolfSSL_get_peer_certificate(ssl);
119 if (peer)
120 ShowX509(peer, "peer's cert info:");
DREADME18 Usage: "ssl_helper -d FILE_DESCRIPTOR" where FILE_DESCRIPTOR is open to the peer.
/busybox-1.35.0/networking/ssl_helper/
DREADME8 Usage: "ssl_helper -d <FILE_DESCRIPTOR>" where FILE_DESCRIPTOR is open to the peer.
/busybox-1.35.0/libbb/
Dxconnect.c447 int FAST_FUNC create_and_connect_stream_or_die(const char *peer, int port) in create_and_connect_stream_or_die() argument
452 lsa = xhost2sockaddr(peer, port); in create_and_connect_stream_or_die()
/busybox-1.35.0/include/
Dlibbb.h789 int create_and_connect_stream_or_die(const char *peer, int port) FAST_FUNC;