Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
Packetdrill_tarr_ext
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Stefan Gense
Packetdrill_tarr_ext
Commits
4d19b8ba
Commit
4d19b8ba
authored
9 years ago
by
Michael Tüxen
Browse files
Options
Downloads
Plain Diff
Merge branch 'master' of
https://github.com/nplab/packetdrill
parents
31899e08
1dfd1c91
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
gtests/net/packetdrill/contrib/README.md
+20
-0
20 additions, 0 deletions
gtests/net/packetdrill/contrib/README.md
gtests/net/packetdrill/contrib/packetdrill.plist
+119
-0
119 additions, 0 deletions
gtests/net/packetdrill/contrib/packetdrill.plist
with
139 additions
and
0 deletions
gtests/net/packetdrill/contrib/README.md
0 → 100644
+
20
−
0
View file @
4d19b8ba
# Syntax Highlighting for packetdrill Scripts
## BBEdit
The file packetdrill.plist has to be copied into ~/Library/Application Support/BBEdit/Language Modules/.
The extension .pkt for packetdrill scripts is recognized. Keywords and Predefined Names
are colored. Numbers are colored from BBEdit 11.0 onwards.
## Emacs
Install packetdrill.el.
## vim
For installation the directories ~/.vim, ~/.vim/ftdetect and ~/.vim/syntax must exist.
If they they don't exist, create them.
Then create a file ~/.vim/ftdetect/packetdrill.vim with the contents:
```
au BufRead,BufNewFile *.pkt set filetype=packetdrill
```
Finally copy the provided file packetdrill.vim to ~/.vim/syntax/packetdrill.vim
This diff is collapsed.
Click to expand it.
gtests/net/packetdrill/contrib/packetdrill.plist
0 → 100644
+
119
−
0
View file @
4d19b8ba
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist
version=
"1.0"
>
<dict>
<key>
BBEditDocumentType
</key>
<string>
CodelessLanguageModule
</string>
<key>
BBLMLanguageDisplayName
</key>
<string>
Packetdrill
</string>
<key>
BBLMLanguageCode
</key>
<string>
pkt!
</string>
<key>
BBLMIsCaseSensitive
</key>
<true/>
<key>
BBLMSuffixMap
</key>
<array>
<dict>
<key>
BBLMLanguageSuffix
</key>
<string>
.pkt
</string>
<key>
BBLMIsSourceKind
</key>
<true/>
</dict>
</array>
<key>
BBLMColorsSyntax
</key>
<true/>
<key>
BBLMKeywordList
</key>
<array>
<string>
sa_family
</string>
<string>
sin_port
</string>
<string>
sin_addr
</string>
<string>
msg_name
</string>
<string>
msg_iov
</string>
<string>
msg_flags
</string>
<string>
fd
</string>
<string>
events
</string>
<string>
revents
</string>
<string>
htons
</string>
<string>
icmp
</string>
<string>
sctp
</string>
<string>
udp
</string>
<string>
udplite
</string>
<string>
inet_addr
</string>
<string>
ack
</string>
<string>
eol
</string>
<string>
ecr
</string>
<string>
mss
</string>
<string>
mtu
</string>
<string>
nop
</string>
<string>
sack
</string>
<string>
sackOK
</string>
<string>
TS
</string>
<string>
FO
</string>
<string>
LS
</string>
<string>
gcn
</string>
<string>
minRTO
</string>
<string>
val
</string>
<string>
win
</string>
<string>
wscale
</string>
<string>
ect01
</string>
<string>
ect0
</string>
<string>
ect1
</string>
<string>
noecn
</string>
<string>
ce
</string>
<string>
pro
</string>
<string>
onoff
</string>
<string>
linger
</string>
<string>
srto_initial
</string>
<string>
srto_max
</string>
<string>
srto_min
</string>
<string>
sinit_num_ostreams
</string>
<string>
sinit_max_instreams
</string>
<string>
sinit_max_attempts
</string>
<string>
sinit_max_init_timeo
</string>
<string>
assoc_value
</string>
<string>
sack_delay
</string>
<string>
sack_freq
</string>
</array>
<key>
BBLMPredefinedNameList
</key>
<array>
<string>
accept
</string>
<string>
bind
</string>
<string>
close
</string>
<string>
connect
</string>
<string>
fcntl
</string>
<string>
getsockopt
</string>
<string>
ioctl
</string>
<string>
listen
</string>
<string>
poll
</string>
<string>
read
</string>
<string>
readv
</string>
<string>
recv
</string>
<string>
recvfrom
</string>
<string>
recvmsg
</string>
<string>
send
</string>
<string>
sendmsg
</string>
<string>
sendto
</string>
<string>
setsockopt
</string>
<string>
shutdown
</string>
<string>
socket
</string>
<string>
write
</string>
<string>
writev
</string>
</array>
<key>
BBLMCommentLineDefault
</key>
<string>
//
</string>
<key>
Language Features
</key>
<dict>
<key>
Open Parameter Lists
</key>
<string>
[
</string>
<key>
Close Parameter Lists
</key>
<string>
]
</string>
<key>
Open Strings 1
</key>
<string>
`
</string>
<key>
Close Strings 1
</key>
<string>
`
</string>
<key>
Identifier and Keyword Character Class
</key>
<string>
A-Za-z0-9_-
</string>
<key>
Comment Pattern
</key>
<string>
//.*$
</string>
</dict>
</dict>
</plist>
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment