没有合适的资源?快使用搜索试试~ 我知道了~
LINUX_API大全
4星 · 超过85%的资源 需积分: 16 374 下载量 155 浏览量
2008-05-15
19:50:06
上传
评论 2
收藏 226KB PDF 举报
温馨提示
试读
167页
LINUX-API大全
资源详情
资源评论
The Linux Kernel API
The Linux Kernel API
This documentation is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc.,
59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
For more details see the file COPYING in the source distribution of Linux.
Table of Contents
1. The Linux VFS.....................................................................................................................................10
The Directory Cache ........................................................................................................................10
d_invalidate.............................................................................................................................10
d_find_alias.............................................................................................................................10
prune_dcache..........................................................................................................................11
shrink_dcache_sb ...................................................................................................................12
have_submounts .....................................................................................................................12
shrink_dcache_parent .............................................................................................................13
d_alloc ....................................................................................................................................13
d_instantiate............................................................................................................................14
d_alloc_root............................................................................................................................15
d_lookup .................................................................................................................................16
d_validate................................................................................................................................16
d_delete...................................................................................................................................17
d_rehash..................................................................................................................................18
d_move ...................................................................................................................................18
__d_path .................................................................................................................................19
is_subdir .................................................................................................................................20
find_inode_number.................................................................................................................21
d_drop.....................................................................................................................................22
d_add ......................................................................................................................................22
dget .........................................................................................................................................23
d_unhashed .............................................................................................................................24
Inode Handling.................................................................................................................................24
__mark_inode_dirty ...............................................................................................................25
write_inode_now....................................................................................................................25
clear_inode .............................................................................................................................26
invalidate_inodes ....................................................................................................................26
get_empty_inode ....................................................................................................................27
iunique ....................................................................................................................................28
insert_inode_hash ...................................................................................................................29
remove_inode_hash ................................................................................................................29
iput..........................................................................................................................................30
bmap .......................................................................................................................................30
update_atime...........................................................................................................................31
make_bad_inode.....................................................................................................................32
is_bad_inode...........................................................................................................................32
Registration and Superblocks...........................................................................................................33
3
register_filesystem..................................................................................................................33
unregister_filesystem..............................................................................................................34
__wait_on_super.....................................................................................................................34
get_super.................................................................................................................................35
get_empty_super.....................................................................................................................36
2. Linux Networking................................................................................................................................37
Socket Buffer Functions...................................................................................................................37
skb_queue_empty ...................................................................................................................37
skb_get....................................................................................................................................37
kfree_skb ................................................................................................................................38
skb_cloned..............................................................................................................................38
skb_shared ..............................................................................................................................39
skb_unshare ............................................................................................................................40
skb_peek.................................................................................................................................40
skb_peek_tail..........................................................................................................................41
skb_queue_len ........................................................................................................................42
__skb_queue_head .................................................................................................................42
skb_queue_head .....................................................................................................................43
__skb_queue_tail....................................................................................................................44
skb_queue_tail........................................................................................................................45
__skb_dequeue .......................................................................................................................45
skb_dequeue ...........................................................................................................................46
skb_insert................................................................................................................................47
skb_append .............................................................................................................................47
skb_unlink ..............................................................................................................................48
__skb_dequeue_tail ................................................................................................................49
skb_dequeue_tail ....................................................................................................................49
skb_put ...................................................................................................................................50
skb_push.................................................................................................................................51
skb_pull ..................................................................................................................................51
skb_headroom.........................................................................................................................52
skb_tailroom...........................................................................................................................53
skb_reserve .............................................................................................................................53
skb_trim..................................................................................................................................54
skb_orphan .............................................................................................................................55
skb_queue_purge....................................................................................................................55
__skb_queue_purge................................................................................................................56
dev_alloc_skb .........................................................................................................................57
skb_cow..................................................................................................................................57
skb_over_panic.......................................................................................................................58
4
skb_under_panic.....................................................................................................................59
alloc_skb.................................................................................................................................60
__kfree_skb ............................................................................................................................61
skb_clone................................................................................................................................61
skb_copy.................................................................................................................................62
skb_copy_expand ...................................................................................................................63
Socket Filter .....................................................................................................................................64
sk_run_filter............................................................................................................................64
3. Network device support.......................................................................................................................66
Driver Support..................................................................................................................................66
init_etherdev...........................................................................................................................66
dev_add_pack .........................................................................................................................66
dev_remove_pack...................................................................................................................67
__dev_get_by_name...............................................................................................................68
dev_get_by_name...................................................................................................................68
dev_get....................................................................................................................................69
__dev_get_by_index...............................................................................................................70
dev_get_by_index...................................................................................................................70
dev_alloc_name......................................................................................................................71
dev_alloc.................................................................................................................................72
netdev_state_change...............................................................................................................73
dev_load..................................................................................................................................73
dev_open.................................................................................................................................74
dev_close................................................................................................................................75
register_netdevice_notifier .....................................................................................................75
unregister_netdevice_notifier .................................................................................................76
dev_queue_xmit......................................................................................................................77
netif_rx ...................................................................................................................................77
net_call_rx_atomic .................................................................................................................78
register_gifconf.......................................................................................................................79
netdev_set_master ..................................................................................................................79
dev_set_promiscuity...............................................................................................................80
dev_set_allmulti......................................................................................................................81
dev_ioctl .................................................................................................................................81
dev_new_index.......................................................................................................................82
register_netdevice...................................................................................................................83
netdev_finish_unregister.........................................................................................................84
unregister_netdevice...............................................................................................................84
8390 Based Network Cards..............................................................................................................85
ei_open ...................................................................................................................................85
5
剩余166页未读,继续阅读
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功
评论13
最新资源