Lines Matching defs:ogp
166 * Arguments: index: index into the open socket table, ogp is the inetgram
170 udp_output(int index, struct inetgram *ogp)
176 printf("udp_output(%d): 0x%x, %d\n", index, ogp->igm_mp,
177 ogp->igm_mp->b_wptr - ogp->igm_mp->b_rptr);
180 mp = ogp->igm_mp;
184 udphp->uh_dport = ogp->igm_saddr.sin_port;
188 udphp->uh_sport = ogp->igm_saddr.sin_port;
194 &ogp->igm_saddr.sin_addr, sockets[index].proto);
197 ogp->igm_level = NETWORK_LVL;