Lines Matching defs:source
706 /* some things for setting the source IP address on outgoing UDP
708 http://stackoverflow.com/questions/3062205/setting-the-source-ip-for-a-udp-socket */
1642 char *source,*line,*remainder,*temp;
1648 source = strdup(output_selection);
1652 if ((NULL == source) ||
1660 f1 = source;
1667 break_args_explicit_sep(source,';',line,remainder);
1672 temp = source;
1673 source = remainder;
1859 set_output_elt(SOURCE_PORT, "Source", "Port", "", "", "%s",
1862 set_output_elt(SOURCE_ADDR, "Source", "Address", "", "", "%s",
1865 set_output_elt(SOURCE_FAMILY, "Source", "Family", "", "", "%d",
2968 recv_data_no_copy(SOCKET data_socket, struct ring_elt *recv_ring, uint32_t bytes_to_recv, struct sockaddr *source, netperf_socklen_t *sourcelen, uint32_t flags, uint32_t *num_receives) {
3017 "%s sock %d, ring elt %p, bytes %d, source %p, srclen %d, flags %x, num_recv %p\n",
3022 source,
3023 (source != NULL) ? *sourcelen : -1,
3083 int recv_pktinfo(SOCKET data_socket, char *message_ptr, int bytes_to_recv, int my_flags, struct sockaddr *source, netperf_socklen_t *sourcelen) {
3098 my_header.msg_name = source;
3137 recv_data(SOCKET data_socket, struct ring_elt *recv_ring, uint32_t bytes_to_recv, struct sockaddr *source, netperf_socklen_t *sourcelen, uint32_t flags, uint32_t *num_receives) {
3148 ret = recv_data_no_copy(data_socket, recv_ring, bytes_to_recv, source, sourcelen, flags, num_receives);
3164 "%s sock %d, ring elt %p, bytes %d, source %p, srclen %d, flags %x, num_recv %p\n",
3169 source,
3170 (source != NULL) ? *sourcelen : -1,
3176 if (source) {
3180 pass-in a source pointer will have a semantic that should get
3189 source,
3198 source,
6933 -L name[/mask],fam Use name (or IP) and family as source of data connection\n\
7125 as the source rather than have to shuffle arg values. */
7189 as the source rather than have to shuffle arg values. */