size of data to ip layer from tcp layer

2001-05-10 Thread raviprasad20
Hi, This is regarding the size of data from TCP/UDP layer to the ip layer. The number of bytes sent from tcp layer to ip layer to send depends on the tcp MSS (maxium segment size).For an ethernet this size is 1460 bytes. Based on the above my understanding is this. a) Since MSS is 1460 bytes

t/tcp behaviour has changed in -current and -stable

2001-05-10 Thread jayanth
I would like to back out the DELAY_ACK macro changes for now. The ttcp code behaviour has changed because of the addition of the DELAY_ACK macro. The macro is forcing the ttcp code to send an immediate SYN, ACK for an initial ttcp segment which has the SYN/FIN/PSH flag set. Instead the SYN,ACK s

Re: getaddrinfo irritation

2001-05-10 Thread Garrett Wollman
< said: > I guess this is a no-no then? It tries to match the protocol with > the socktype. Well, the specification appears to leave this possibility open. It says: # A value of zero for ai_socktype means that the caller shall accept # any socket type. So it is not illegitimate for the libra

Re: getaddrinfo irritation

2001-05-10 Thread Garrett Wollman
< said: > Shouldn't it do the mapping of addrhint.ai_protocol=6 (tcp) > into ai_socktype = SOCK_STREAM? No. In the socket model, the protocol is subordinate to the type of socket. (For example, XNS SPP can implements both SOCK_SEQPACKET and SOCK_STREAM.) -GAWollman To Unsubscribe: send mail

Re: getaddrinfo irritation

2001-05-10 Thread Garrett Wollman
< said: > What I mean is how would one map: localhost:http:tcp into that? > There seems to be no way to determine what I must do to ai_socktype > based on the above string. Change the input format. The API was designed around the idea that programs care about which socket model they get, not

getaddrinfo irritation

2001-05-10 Thread Garrett Wollman
< said: > Using "our" APIs (getaddrinfo) is causing me much pain because I can't > figure out how to map "tcp" -> SOCK_STREAM. You don't. In the `hints' structure, you pass in ai_socktype == SOCK_STREAM. This is clearly documented in the manual page. -GAWollman To Unsubscribe: send mail to

kernel size..

2001-05-10 Thread vishwanath pargaonkar
Hi, i have free bsd 4.2 stable. i did some changes may be 10-15 lines to kernel source. but thing i am amazed is kernel size. size of kernel.GENERIC is 3258128. but as of my kernel is 13068130 when i cheked it. my kernel is stable there is no probs. but y is size soo big?? To Unsubscribe: send