# SNMPSetTrapsIpaddr

**URL:** <https://forums.digi.com/t/snmpsettrapsipaddr/5383>\
**Category:** NET+OS\
**Created:** [July 20, 2004, 9:19am UTC](https://forums.digi.com/t/snmpsettrapsipaddr/5383 "2004-07-20T09:19:43Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![jgteam](https://avatars.discourse-cdn.com/v4/letter/j/8edcca/32.png) [@jgteam](https://forums.digi.com/u/jgteam)\
**Post date:** [July 20, 2004, 9:19am UTC](https://forums.digi.com/t/snmpsettrapsipaddr/5383/1 "2004-07-20T09:19:43Z")

</div>

HelloI try “nasnmpd” example, it works ok. But in file “root.c” I see SNMPSetTrapsIpaddr() call, and I don’t find declaration or define … Where is it? what usage about it? and what is parameters? thanks

---

<div class="post-metadata">

**Author:** ![alden1](https://avatars.discourse-cdn.com/v4/letter/a/6de8d8/32.png) [@alden1](https://forums.digi.com/u/alden1)\
**Post date:** [July 22, 2004, 4:37pm UTC](https://forums.digi.com/t/snmpsettrapsipaddr/5383/2 "2004-07-22T16:37:40Z")

</div>

The API is not documented in the Net+OS API Reference because it is part of the stack. The text below is clipped from the header for the function. I hope this helps. param option: Action this API does: add or delete trap ip address param traptype: Type of trap the ip address(es) associate with param ipaddr: Point to an array of ip addresses to send this trap to, the ip address is in “xxx.xxx.xxx.xxx” format Alden
