由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
JobHunting版 - A network question
相关主题
M面完焦急等待中。。。。。大家看看我是个什么水平?amazon多久会收到packet
星期五的面世比较郁闷,不知道有没有戏麻烦大家看看照下面这个步骤要多久才能file H1B petition
google电话面试请问OPT 申请问题
关于还没有收到H1b正式批准书之前离境的问题求Graphic方面的书籍
急问OPT加急relocation fee是上班报道前给还是之后给?
这个是传说中的offer吗?Packet Inspection TCP/IP 的 面试。??
刚从果果家onsite归来,求bless我们公司最近有空缺,需要找个地方落脚身份的可以试试看
上周Juniper onsite面经问道面试题
相关话题的讨论汇总
话题: question话题: network话题: what话题: data
进入JobHunting版参与讨论
1 (共1页)
c***2
发帖数: 838
1
What data strucutre to use for passing 1MB of data to OS for network packet
delivering?
Confused about this question: it's just a buffer, using shared memory to
avoid copy, what else?
c***2
发帖数: 838
2
I suspect that the interviewer intentionally gives the interviewee a hard
time for this kind of question?
z***e
发帖数: 5393
3
If you know the implementing for net buffer list (either for linux/bsd or
windows), it's an easy question and you can show off your understanding for
network protocol implementing details---- but it seems you don't.
Passing data for network packets is ususally done using a list of buffers (
considering fragmentation). Check NetBufferList on MSDN.

packet

【在 c***2 的大作中提到】
: What data strucutre to use for passing 1MB of data to OS for network packet
: delivering?
: Confused about this question: it's just a buffer, using shared memory to
: avoid copy, what else?

c***2
发帖数: 838
4
The interviewer said that's not what he is asking.
Of course, it's awkward to pack 1MB of data into one single buffer since
eventually you need to pack packets according to MTU.
That's why I am confused.

for

【在 z***e 的大作中提到】
: If you know the implementing for net buffer list (either for linux/bsd or
: windows), it's an easy question and you can show off your understanding for
: network protocol implementing details---- but it seems you don't.
: Passing data for network packets is ususally done using a list of buffers (
: considering fragmentation). Check NetBufferList on MSDN.
:
: packet

z***e
发帖数: 5393
5
NBL is not just for fragmentation and MTU purpose.
anyway, if you don't know what the interviewer is asking, then ask him. DON'
T answer unless you know what the interviewer is aksing. It's OK to take 10
mins to figure out what he is asking (this is very important and indicate if
you can be a good co-worker) than spending 1 mins to "guess" what he is
asking and 9 mins to give an inaccurate answer.

【在 c***2 的大作中提到】
: The interviewer said that's not what he is asking.
: Of course, it's awkward to pack 1MB of data into one single buffer since
: eventually you need to pack packets according to MTU.
: That's why I am confused.
:
: for

c***2
发帖数: 838
6
You are right. I'll take the lesson.

DON'
10
if

【在 z***e 的大作中提到】
: NBL is not just for fragmentation and MTU purpose.
: anyway, if you don't know what the interviewer is asking, then ask him. DON'
: T answer unless you know what the interviewer is aksing. It's OK to take 10
: mins to figure out what he is asking (this is very important and indicate if
: you can be a good co-worker) than spending 1 mins to "guess" what he is
: asking and 9 mins to give an inaccurate answer.

1 (共1页)
进入JobHunting版参与讨论
相关主题
问道面试题急问OPT加急
问道面试提这个是传说中的offer吗?
我等non pp reg, ca, 果真没希望了,看消息刚从果果家onsite归来,求bless
BAL搞H1B的同学进来说说上周Juniper onsite面经
M面完焦急等待中。。。。。大家看看我是个什么水平?amazon多久会收到packet
星期五的面世比较郁闷,不知道有没有戏麻烦大家看看照下面这个步骤要多久才能file H1B petition
google电话面试请问OPT 申请问题
关于还没有收到H1b正式批准书之前离境的问题求Graphic方面的书籍
相关话题的讨论汇总
话题: question话题: network话题: what话题: data