免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
12
最近访问板块 发新帖
楼主: lovesaka
打印 上一主题 下一主题

图解以太网帧格式 [复制链接]

论坛徽章:
0
11 [报告]
发表于 2007-01-16 12:50 |只看该作者
提倡共享。把自己知道与人共享拉

论坛徽章:
0
12 [报告]
发表于 2007-01-16 22:20 |只看该作者
原帖由 helbreathszw 于 2007-1-16 11:45 发表
通过数据库之后,便于做长久分析,以及美化的输出(html,xml,excel),做事之前就要有一个长远的可扩展
性,要么不做,要做就要能给以后扩展或是增加什么功能都提供方便,呵呵。
perl的懒惰精神就在于此。
PS:这 ...

我已经说得很清楚了perl已经把底层的东西都封装的很抽像了跟本就谈不上有什么技巧
只是为了格式化一下以方便写网络程序时查看数据包能好看一点
所以贴上来给需要的人用的,没有你想的那样秀自己水平什么的
还有我水平是很一般但我还在学习中如果像您那么牛的话,我会想着去设计一下比perl很强悍语言^_^
让外国佬也来学习我创造东西(当然这只是假想实现还是比较难的不过你嘛应该是小意思吧)

论坛徽章:
0
13 [报告]
发表于 2007-01-16 23:36 |只看该作者
如果你仔细去对比,差距还不小的, use Net:: PcapUtils;

在perl journal 2005 march那一刊上就有介绍如何这个模块的使用
Perl的强大就在于cpan,楼主你写的那个perl脚本用到了吗,还是你根本就没好好使用过cpan?
至于你说的研究语言,我因为使用Emacs,所以也在用lisp这个语言。
楼主有兴趣的话,不妨试试Emacs,写写lisp玩玩!
自己弄个语言研究,有时间吧,读完perl journal就差不多消耗了俺不少周末时间了。

[ 本帖最后由 helbreathszw 于 2007-1-16 23:46 编辑 ]

论坛徽章:
0
14 [报告]
发表于 2007-01-21 05:04 |只看该作者
原帖由 helbreathszw 于 2007-1-16 23:36 发表
如果你仔细去对比,差距还不小的, use Net:: PcapUtils;

在perl journal 2005 march那一刊上就有介绍如何这个模块的使用
Perl的强大就在于cpan,楼主你写的那个perl脚本用到了吗,还是你根本就没好好使用过cp ...

很遗憾我从不用emacs只感觉vim更合自己习惯
我说已经得很明白刚这下几个模块不久写的,只觉得根c的libpcap函数库差不多少像这些东西linux基本上是用AF_PACKET和SOCK_RAW实现的而且libpcap库linux下的大部份原码我都看过所以写起来很简单
而且我不是神,什么东西一到手就玩得很精!
如果有机会的话我会把我用c写的网络库给转成perl模块自己用自己的就行了如果好用的话我会再发上来^_^

论坛徽章:
0
15 [报告]
发表于 2007-01-21 09:20 |只看该作者
很遗憾你不用Emacs,这不能怪你,中国现状就是如此,挑最速成的学。
像lisp这种语言,恐怕国内学的人连学perl的百分之一都不到。hoho

[ 本帖最后由 helbreathszw 于 2007-1-21 09:23 编辑 ]

论坛徽章:
0
16 [报告]
发表于 2007-01-22 16:59 |只看该作者
原帖由 helbreathszw 于 2007-1-21 09:20 发表
很遗憾你不用Emacs,这不能怪你,中国现状就是如此,挑最速成的学。
像lisp这种语言,恐怕国内学的人连学perl的百分之一都不到。hoho

ft.........

论坛徽章:
1
2015年辞旧岁徽章
日期:2015-03-03 16:54:15
17 [报告]
发表于 2007-01-22 17:11 |只看该作者
原帖由 helbreathszw 于 2007-1-21 09:20 发表
很遗憾你不用Emacs,这不能怪你,中国现状就是如此,挑最速成的学。
像lisp这种语言,恐怕国内学的人连学perl的百分之一都不到。hoho

以阁下如此浮躁的态度,我担保你的 emacs 也好不到那儿去。
至少有很多我用 vim 能够轻易完成的动作你肯定不会用 emacs 办得到。

论坛徽章:
0
18 [报告]
发表于 2007-01-22 20:09 |只看该作者
哦,这个总不能给你比下去了
哈哈!

论坛徽章:
0
19 [报告]
发表于 2007-01-22 20:16 |只看该作者
Quick jump to first entry with this letter: a b c d e f g h i j k l m n o p q r s t u v w x y z

5x5.el --- Simple little puzzle game.
Contact: Dave Pearson

A
a-menu.el --- create a menu from a specified directory
Contact: Seiji Zenitani

abacus.el --- Abacus Calculator
Contact: Valvassori Moïse

abbrev-sort.el --- Insert series of numbers into text
Contact: Will Mengarini

abc-mode.el --- Major mode for editing abc music files
Contact: Matthew K. Junker

abc-mode.el --- Major mode for editing ABC files
Contact: Michael Abraham Shulman

acldoc.el --- [interface to the Franz Allegro Common Lisp documentation tree]
Contact: Larry Hunter

actr-mode.el --- ACT-R-mode/support for Emacs
Contact: Hedderik van Rijn

ada-mode.el --- major-mode for editing Ada source.
Contact: Emmanuel Briot

advogato.el --- elisp mode to post diary entries to advogato.org.
Contact: Ramakrishnan M

after-save-commands.el --- Run a shell command after saving a file
Contact: Karl M. Hegbloom

agchat.el --- comint-based emacs interface for chatting on AgChat
Contact: Noah Friedman

alert.el --- Alerts for severe weather, new mail (biff), anything.
Contact: D. Goel

align.el --- align text separated by whitespaces in columns
Contact: Matthias Helmling

align.el --- Align a region according to a regexp
Contact: John Wiegley

align-regexp.el --- [Align region according to regular expressions.]
Contact: Steve Koren

align-string.el --- align string components over several lines;
Contact: Markus Bjartveit Krüger

all.el --- Edit all lines matching a given regexp.
Contact: Per Abrahamsen

alossage.el --- view-lossage with automatic refresh
Contact: Riku Saikkonen

alt-font-menu.el --- Alternative mouse font menu for X
Contact: Kahlil (Kal) Hodgson

analog.el --- monitor lists of files or command output
Contact: Matthew P. Hodges

anaya.el --- Emacs interface to the Anaya Online Spanish Dictionaries
Contact: Daniel M. German

andersl-java-font-lock.el --- Font lock support for Java.
Contact: Anders Lindgren

ansi-colors.el --- translate ANSI into text-properties
Contact: Alex Schroeder

ant.el --- Utilities for Ant
Contact: Peter Breton

antlr-mode.el --- Major mode for ANTLR grammar files
Contact: Christoph Wedler

any-ini-mode.el --- keyword highlighting for .ini files etc based on a 'source of truth'
Contact: Robert Fitzgerald

apache-mode.el --- major mode for editing Apache configuration files
Contact: Jonathan Marten

apel.el --- [A portable Emacs library]
Contact: Apel group

aplac-mode.el --- major mode for Aplac netlist files
Contact: Brennan Sharp

apm.el --- Using APM (Advanced Power Management) From Within (X)Emacs
Contact: Dinesh G Dutt

apropos+.el --- extensions to standard library `apropos.el'
Contact: Drew Adams

apt-sources.el --- Mode for editing apt source.list file
Contact: Dr. Rafael Sepúlveda

apt-upgrade.el --- apt-get upgrade front-end for Debian systems
Contact: Richard Klinda

apt-utils.el --- Emacs interface to APT (Debian package management)
Contact: Matthew P. Hodges

archie.el --- query archie servers and parse the results
Contact: Lars Magne Ingebrigtsen

arrange.el --- Rearrange and filter lists
Contact: Tom Breton

artist.el --- draw ascii graphics with your mouse
Contact: Tomas Abrahamsson

ascii.el --- ASCII code display
Contact: Vinicius Jose Latorre

ascii-display.el --- Highlight special ASCII characters in another buffer
Contact: Colin Walters

ascii-to-iso-8859-1.el --- Functions to convert to ASCII to iso-8859-1.
Contact: Marco Parrone

asm56k-f-lck.el --- [Font Lock Keywords for Motorola 56000 DSP assembly language]
Contact: Luis Fernandes

aspectj-mode.el --- AspectJ extensions to Java mode
Contact: Gregor Kiczales and William Griswold

astronomy.el --- [Compute times of astronomical, nautical and civil twilight for calendar]
Contact: Bill White

attic.el --- maintain backups with a time stamp
Contact: Thomas Link

auctex.el --- [package that supports writing and formatting TeX files]
Contact: David Kastrup

auto-arg-mode.el --- Minor mode that makes numbers prefixes by default.
Contact: Anders Lannerbäck

auto-capitalize.el --- Automatically capitalize (or upcase) words.
Contact: Kevin Rodgers

auto-compile.el --- Auto compile support for developers.
Contact: Higepon

auto-define.el --- Define functions on the fly
Contact: Michael Abraham Shulman

auto-diff.el --- Automatically generate diff's for directory contents.
Contact: Steve Kemp

auto-insert-tkld.el --- automatic insertion of text into new files.
Contact: Kevin Davidson

auto-recomp.el --- Automatically recompile Emacs Lisp files
Contact: Michael Abraham Shulman

autocap.el --- auto-capitalize beginning of sentences
Contact: Dave Love

autoconf-mode.el --- autoconf code editing commands for Emacs
Contact: Martin Buchholz

autofit-frame.el --- automatically fit each one-window frame to its buffer
Contact: Drew Adams

autoload+.el --- extensions to standard library `autoload.el'
Contact: Drew Adams

autorevert.el --- Revert buffers when file on disk change.
Contact: Anders Lindgren

B
babel.el --- Emacs interface to the Babelfish translation service
Contact: Eric Marsden

background.el --- Background jobs in GNU Emacs
Contact: Joe Keane

backup-dir.el --- allow backup files to live in some other directory(s).
Contact: Greg Klanderman

balance.el --- editing balance sheets
Contact: Jim Blandy

balance-mode.el --- [Major mode for recording transactions and balancing a bank account]
Contact: Bob Newell

banner.el -- make banners from strings
Contact: John Sturdy

bar-cursor.el --- package used to switch block cursor to a bar
Contact: Joe Casadonte

battery-freebsd.el --- Parse apm output.
Contact: Kang-min Liu

battery-netbsd.el --- Display battery status information on NetBSD.
Contact: Daniel Lundin

bbdb.el --- The Insidious Big Brother Database. [phone and address dbase]
Contact: Ronan Waide

bbdb-expire.el --- expiry and expire-proof entries for the BBDB
Contact: Nix

bbdb-gnokii.el --- Export phone entries from BBDB to a gnokii contacts file.
Contact: Martin Schwenke

bbdb-vcard-export.el --- vCard export for the BBDB
Contact: Jim Hourihan

bbdbpalm.el --- BBDBpalm exporter of BBDB database to Palm(R) address book
Contact: Neil W. Van Dyke

bbdbrc.el --- Harmonize message with BBDB+.mailRC.
Contact: Deepak Goel

beatnik.el --- Tries to implement a beatnik interpreter
Contact: Arjan Bos

benchmark.el --- functions for benchmarking Emacs Lisp code
Contact: Lars Magne Ingebrigtsen

bhl.el --- From (B)rute text to (H)tml and (L)aTeX.
Contact: Bastien Guerry

bib-cite.el --- Display \cite, \ref or \label / Extract refs from BiBTeX file
Contact: Peter S. Galbraith

bibfind.el --- Client to get BibTeX entries from the web
Contact: Nevin Kapur

bibtex.el --- BibTeX mode for GNU Emacs
Contact: Dirk Herrmann

biff.el --- All-mighty biff program in Emacs-Lisp
Contact: HIROSE Yuuji

bigfont.el --- [Implement the `banner' unix command]
Contact: Eli Barzilay

bike.el --- [Calculate bicycle gearing]
Contact: Bob Newell

binclock.el --- Display the current time using a binary clock.
Contact: Dave Pearson

bk.el --- Emacs support for BitKeeper configuration management
Contact: Bryan O'Sullivan

blackbook.el --- edit [mail] aliases file in an user-friendly way
Contact: Hrvoje Niksic

blank-mode.el --- Minor mode to visualize blanks (SPACE and TAB).
Contact: Vinicius Jose Latorre

blinking-cursor.el --- Blinking cursor mode for GNU Emacs
Contact: Kyle Jones

blogger.el --- Post to blogs that support the Blogger API.
Contact: Mark A. Hershberger

bm.el --- Visible bookmarks in buffer.
Contact: Jo Odland

bm-man-cmplt.el --- completion of Unix manual page names using whatis(1)
Contact: Yuji 'bmonkey' Minejima

bongo.el --- buffer-oriented media player for Emacs
Contact: Daniel Brockman

bookmark+.el --- extensions to standard library `bookmark.el'
Contact: Drew Adams

boshiamy-cue.el --- [Help for Boshiamy input method in BIG5 Chinese; Chinese page]
Contact: blacksburg98

boxquote.el --- Quote text with a semi-box.
Contact: Dave Pearson

branch.el --- working with multiple branches of projects
Contact: Rob Walker

brief.el --- Brief-Emulation for Emacs
Contact: Mirko Link

brief-s.el --- Brief 3.1 (TM) keybinding for emacs
Contact: Tong SUN

browse-cltl2.el --- browse the hypertext-version of "Common Lisp the Language, 2nd. Edition"
Contact: Holger Schauer

browse-help.el --- context-sensitive help via a WWW browser for GNU Emacs
Contact: Tim Anderson

browse-kill-ring.el --- interactively insert items from kill-ring
Contact: Nick Hurley

browse-kill-ring+.el --- extensions to library `browse-kill-ring.el'
Contact: Drew Adams

browse-url.el --- Pass a URL to a WWW browser
Contact: Dave Love

bs.el --- menu for selecting and displaying buffers, alternative for C-xC-b
Contact: Olaf Sylvester

bubblet.el --- a bubble-popping game
Contact: Paul Du Bois

buff-menu+.el -- extensions to standard library `buff-menu'
Contact: Drew Adams

buffer-stack.el --- Smart movement through the buffer list.
Contact: Adrian Kubala

buffer-thumbnail.el --- Maintain an XPM interpretation of buffer contents.
Contact: Thien-Thi Nguyen

buffer-time-stamp.el --- display buffer time stamps in the mode line
Contact: Matthew P. Hodges

buffer-timer.el --- Track your time based on the buffers you edit.
Contact: Wes Hardaker

buffermenu.el --- modifies the xemacs buffer menu to organize files by directory
Contact: Brady Montz

buffi.el --- BUildFile FInder, a smart compile wrapper to build multiple [java] projects
Contact: Raphael Pierquin

C
c-comment-edit.el --- edit C comments
Contact: Kyle Jones

c-includes.el --- Find all header files included by a source file
Contact: John Wiegley

cal-catholic.el --- calendar functions for the Roman Catholic liturgical calendar
Contact: Bill White

cal-desk-calendar.el --- Desk calendar style extensions to Calendar/Diary
Contact: D. Dale Gulledge

calc.el --- Calculator for GNU Emacs, part I
Contact: Dave Gillespie

calculator.el --- A simple desktop calculator.
Contact: Eli Barzilay

camelCase-mode.el --- minor mode for editing with camelCase words
Contact: C.R.Manning

caps-lock.el --- caps lock mode for Emacs
Contact: John Paul Wallington

carbon-font.el --- fontsets for Carbon Emacs
Contact: Takashi Hiromatsu

catdoc.el --- simple wrapper around the catdoc Word to Text converter
Contact: Steve Kemp

cc-mode.el --- major mode for editing C, C++, Objective-C, and Java code
Contact: Martin Stjernholm

ccm.el --- [Interface to continuus, a Change Management tool]
Contact: Henrik Jönsson

cddb.el --- CD DataBase interface
Contact: William M. Perry

cddb.el --- Get CD Tracks from CDDB.com [2]
Contact: Christopher Bowron

cdi.el --- interface between Emacs and command line CD players
Contact: Matthew P. Hodges

cdlatex.el --- Fast input methods for LaTeX environments and math
Contact: Carsten Dominik

cdrw.el --- Dired frontend to various commandline CDROM burning tools.
Contact: Tony Sideris

cell.el --- spreadsheet-like custom application development system
Contact: David O'Toole

cfengine.el --- editing CFengine configuration files
Contact: Dave Love

cfs.el --- A frontend to CFS [cryptographic file system].
Contact: Marco Parrone

cgi.el --- using Emacs for CGI scripting
Contact: Eric Marsden

change-mode.el --- minor mode displaying buffer changes with special face
Contact: Richard Sharman

check-mail.el --- A slightly more sophisticated mail checking function
Contact: John Wiegley

checkdoc.el --- Check documentation strings for style requirements
Contact: Eric M. Ludlam

chess.el --- Play chess in Emacs
Contact: John Wiegley

chill.el --- [Mode for editing CHILL (CCITT High Level Language)]
Contact: August Hörandl

choose.el --- nondeterminism inside elisp.
Contact: Deepak Goel

chronometer.el --- a [not so] simple chronometer for Emacs
Contact: Marcelo Toledo

cib.el --- Complete into Buffer for Emacs
Contact: Carsten Dominik

cif.el --- major mode for editing (mm?)CIF files used in crystallography
Contact: Dave Love

cldoc.el --- show Common Lisp operators and variables information in echo area
Contact: Yuji Minejima

clearcase.el --- ClearCase/Emacs integration.
Contact: Kevin Esler

clhs.el --- access the Common Lisp HyperSpec (CLHS)
Contact: Sam Steingold

climdoc.el --- An emacs interface the the Harlequin CLIM-2.0 reference
Contact: Larry Hunter

clipper.el --- save strings of data for further use.
Contact: Kevin A. Burton

coffee.el --- Submit a BREW request to an RFC2324-compliant coffee device
Contact: Eric Marsden

cogre.el --- COnnected GRaph Editor for Emacs
Contact: Eric Ludlam

color-moccur.el --- [show all occurrences of regexp in all file buffers]
Contact: Akihisa Matsushita

color-mode.el --- minor mode for colorizing lines of a file
Contact: Don Knuth

color-theme.el --- preview and install color themes
Contact: Jonadab the Unsightly One

comint-popup.el --- maybe show comint process output windows
Contact: Noah Friedman

comint-redirect.el --- Redirect comint output to multiple buffers
Contact: Peter Breton

command-other-frame.el --- Run commands in another frame.
Contact: Heddy Boubaker

comment.el --- comment out regions of buffers
Contact: Noah Friedman

commented-info.el --- Inserts an information/license header in the buffer
Contact: Paolo Gianrossi

compile+.el --- extensions to standard library `compile.el'
Contact: Drew Adams

compile+20.el --- extensions to standard library `compile.el' for < Emacs 21
Contact: Drew Adams

compile-.el --- extensions to standard library `compile.el'
Contact: Drew Adams

compile-20.el --- extensions to standard library `compile.el' for < Emacs 21
Contact: Drew Adams

compjuga.el --- emacs interface to the compjuga Spanish verb conjugator
Contact: Bruce Ravel

completing-help.el --- an enhancement to `display-completion-list'
Contact: Yuji 'bmonkey' Minejima

concordance.el --- Show concordance table
Contact: Thomas Link

constants.el --- enter constant definitions into source code
Contact: Carsten Dominik

context.el --- major mode for editing ConTeXt files.
Contact: Berend de Boer

context.el2 --- Save some context from previous editing sessions
Contact: David Neves

coroutine.el --- Coroutines for Emacs Lisp
Contact: Michael Abraham Shulman

counter.el --- Insert series of numbers into text
Contact: Will Mengarini

cparen.el --- coloured parentheses in Lisp-derived modes
Contact: Riku Saikkonen

cparse.el --- [parse a c file and allow searching for functions, variables, and types]
Contact: Eric M. Ludlam

cperl-mode.el --- Perl code editing commands for Emacs
Contact: Ilya Zakharevich and Bob Olson

cricket.el --- Get live cricket scores and news updates from inside emacs.
Contact: Anand B Pillai

crontab-mode.el --- Mode for editing crontab files
Contact: James H Gorrell

crypt++.el --- code for handling all sorts of compressed and encrypted files
Contact: Karl Berry

cscope.el --- Interface to cscope browser
Contact: Bill Carpenter

csde.el --- Integrated Development Environment for Csharp.
Contact: Matt Bruce

csharp-mode.el --- csharp-mode
Contact: Dennis Haney

css-mode.el --- Trivial CSS editing mode.
Contact: Lars Marius Garshol

css-mode.el --- Major mode for editing Cascading Style Sheets
Contact: Karl Landstr&ouml;m

csv.el --- Functions for reading/parsing csv files
Contact: Ulf Jasper

csv-mode.el --- major mode for editing comma-separated value files
Contact: Francis Wright

ctypes.el --- Enhanced Font lock support for custom defined types.
Contact: Anders Lindgren

cua.el --- emulate CUA key bindings
Contact: Kim F. Storm

cua-lite.el --- a light-weight, extendable & toggle-able CUA emulator
Contact: Joe Casadonte

cua-lite-bootstrap.el --- bootstrap for cua-lite
Contact: Joe Casadonte

cus-edit+.el --- extensions to standard library `cus-edit.el'
Contact: Drew Adams

custom.el --- Tools for declaring and initializing options.
Contact: Per Abrahamsen

cvs-annotate.el --- cvs `annotate' interface for emacs.
Contact: Kevin A. Burton

cvs-commit.el --- smart cvs-commit interface for emacs.
Contact: Kevin A. Burton


emacs的el插件不比cpan的模块少
只是国内学emacs的人少,就似乎不知道其存在了

论坛徽章:
0
20 [报告]
发表于 2007-01-24 16:12 |只看该作者
我才发现在哪都能看到楼上的
我潜水比较好
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP