Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752021Ab2KFLeY (ORCPT ); Tue, 6 Nov 2012 06:34:24 -0500 Received: from mail-pa0-f46.google.com ([209.85.220.46]:61163 "EHLO mail-pa0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751628Ab2KFLeX (ORCPT ); Tue, 6 Nov 2012 06:34:23 -0500 MIME-Version: 1.0 Date: Tue, 6 Nov 2012 06:34:22 -0500 Message-ID: Subject: recvfrom a large packet From: "devendra.aaru" To: "linux-kernel@vger.kernel.org" Content-Type: text/plain; charset=ISO-8859-1 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 606 Lines: 17 if i do a recvfrom (sk, buf, 10000, 0, &addr, &len), shall i recv all the data i mean the 10000 bytes? since fragmentation happen in the ip layer and assembled happen in the ip layer it doesnt matter for the upper layer about the packet size. i wrote a test code and it seems to be working. is there any problem will come if i turn on firewall. any ideas? -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/